blob: 5a0c88acb074aa4960f27c73d7a25f7f9eb623df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#include "stdafx.h"
#include "mlStartup.h"
#include "../D3D/startup.h"
#include "LookupTables.h"
namespace
{
static DirectCompute::LookupTables s_tables;
}
namespace DirectCompute
{
const LookupTables& lookupTables = s_tables;
HRESULT mlStartup( uint32_t flags )
{
CHECK( d3dStartup( flags ) );
CHECK( s_tables.create() );
return S_OK;
}
void mlShutdown()
{
s_tables.clear();
d3dShutdown();
}
}
|