mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-11-29 10:24:10 +01:00
[d3d10] Implement D3D10[Core]GetVersion and D3D10[Core]RegisterLayers
This commit is contained in:
parent
021c593ad8
commit
7a134e49be
@ -25,3 +25,5 @@ EXPORTS
|
||||
D3D10StateBlockMaskGetSetting
|
||||
D3D10StateBlockMaskIntersect
|
||||
D3D10StateBlockMaskUnion
|
||||
D3D10GetVersion
|
||||
D3D10RegisterLayers
|
||||
|
@ -29,3 +29,6 @@
|
||||
@ stdcall D3D10StateBlockMaskGetSetting(ptr long long)
|
||||
@ stdcall D3D10StateBlockMaskIntersect(ptr ptr ptr)
|
||||
@ stdcall D3D10StateBlockMaskUnion(ptr ptr ptr)
|
||||
|
||||
@ stdcall D3D10GetVersion()
|
||||
@ stdcall D3D10RegisterLayers()
|
@ -25,3 +25,5 @@ EXPORTS
|
||||
D3D10StateBlockMaskGetSetting
|
||||
D3D10StateBlockMaskIntersect
|
||||
D3D10StateBlockMaskUnion
|
||||
D3D10GetVersion
|
||||
D3D10RegisterLayers
|
@ -29,3 +29,6 @@
|
||||
@ stdcall D3D10StateBlockMaskGetSetting(ptr long long)
|
||||
@ stdcall D3D10StateBlockMaskIntersect(ptr ptr ptr)
|
||||
@ stdcall D3D10StateBlockMaskUnion(ptr ptr ptr)
|
||||
|
||||
@ stdcall D3D10GetVersion()
|
||||
@ stdcall D3D10RegisterLayers()
|
@ -360,6 +360,28 @@ extern "C" {
|
||||
ppErrorMsgs);
|
||||
}
|
||||
|
||||
|
||||
UINT64 STDMETHODCALLTYPE D3D10CoreGetVersion() {
|
||||
// Match the Windows 10 return value, but we
|
||||
// don't know the exact function signature
|
||||
return 0xa000100041770ull;
|
||||
}
|
||||
|
||||
|
||||
UINT64 STDMETHODCALLTYPE D3D10GetVersion() {
|
||||
return 0xa000100041770ull;
|
||||
}
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE D3D10RegisterLayers() {
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
|
||||
HRESULT STDMETHODCALLTYPE D3D10CoreRegisterLayers() {
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
LIBRARY D3D10CORE.DLL
|
||||
EXPORTS
|
||||
D3D10CoreCreateDevice
|
||||
D3D10CoreGetVersion
|
||||
D3D10CoreRegisterLayers
|
||||
|
@ -1 +1,3 @@
|
||||
@ stdcall D3D10CoreCreateDevice(ptr ptr long long ptr)
|
||||
@ stdcall D3D10CoreGetVersion()
|
||||
@ stdcall D3D10CoreRegisterLayers()
|
Loading…
Reference in New Issue
Block a user