1
0
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:
Joshua Ashton 2020-02-16 04:02:00 +00:00 committed by Philip Rebohle
parent 021c593ad8
commit 7a134e49be
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
7 changed files with 36 additions and 0 deletions

View File

@ -25,3 +25,5 @@ EXPORTS
D3D10StateBlockMaskGetSetting
D3D10StateBlockMaskIntersect
D3D10StateBlockMaskUnion
D3D10GetVersion
D3D10RegisterLayers

View File

@ -29,3 +29,6 @@
@ stdcall D3D10StateBlockMaskGetSetting(ptr long long)
@ stdcall D3D10StateBlockMaskIntersect(ptr ptr ptr)
@ stdcall D3D10StateBlockMaskUnion(ptr ptr ptr)
@ stdcall D3D10GetVersion()
@ stdcall D3D10RegisterLayers()

View File

@ -25,3 +25,5 @@ EXPORTS
D3D10StateBlockMaskGetSetting
D3D10StateBlockMaskIntersect
D3D10StateBlockMaskUnion
D3D10GetVersion
D3D10RegisterLayers

View File

@ -29,3 +29,6 @@
@ stdcall D3D10StateBlockMaskGetSetting(ptr long long)
@ stdcall D3D10StateBlockMaskIntersect(ptr ptr ptr)
@ stdcall D3D10StateBlockMaskUnion(ptr ptr ptr)
@ stdcall D3D10GetVersion()
@ stdcall D3D10RegisterLayers()

View File

@ -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;
}
}

View File

@ -1,3 +1,5 @@
LIBRARY D3D10CORE.DLL
EXPORTS
D3D10CoreCreateDevice
D3D10CoreGetVersion
D3D10CoreRegisterLayers

View File

@ -1 +1,3 @@
@ stdcall D3D10CoreCreateDevice(ptr ptr long long ptr)
@ stdcall D3D10CoreGetVersion()
@ stdcall D3D10CoreRegisterLayers()