mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-15 07:29:17 +01:00
[d3d11] Add D3D11On12CreateDevice stub
This commit is contained in:
parent
2673d74270
commit
b5d7b42e65
@ -3,3 +3,4 @@ EXPORTS
|
|||||||
D3D11CoreCreateDevice @18
|
D3D11CoreCreateDevice @18
|
||||||
D3D11CreateDevice @22
|
D3D11CreateDevice @22
|
||||||
D3D11CreateDeviceAndSwapChain @23
|
D3D11CreateDeviceAndSwapChain @23
|
||||||
|
D3D11On12CreateDevice @24
|
||||||
|
@ -242,4 +242,24 @@ extern "C" {
|
|||||||
ppDevice, pFeatureLevel, ppImmediateContext);
|
ppDevice, pFeatureLevel, ppImmediateContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DLLEXPORT HRESULT __stdcall D3D11On12CreateDevice(
|
||||||
|
IUnknown* pDevice,
|
||||||
|
UINT Flags,
|
||||||
|
const D3D_FEATURE_LEVEL* pFeatureLevels,
|
||||||
|
UINT FeatureLevels,
|
||||||
|
IUnknown* const* ppCommandQueues,
|
||||||
|
UINT NumQueues,
|
||||||
|
UINT NodeMask,
|
||||||
|
ID3D11Device** ppDevice,
|
||||||
|
ID3D11DeviceContext** ppImmediateContext,
|
||||||
|
D3D_FEATURE_LEVEL* pChosenFeatureLevel) {
|
||||||
|
static bool s_errorShown = false;
|
||||||
|
|
||||||
|
if (!std::exchange(s_errorShown, true))
|
||||||
|
Logger::err("D3D11On12CreateDevice: Not implemented");
|
||||||
|
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user