[dxgi] Report ID3D10Device and ID3D10Device1 as supported

This commit is contained in:
Philip Rebohle 2018-08-11 16:37:12 +02:00
parent 1e857f6342
commit 257ac9ad6c
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99
2 changed files with 2 additions and 13 deletions

View File

@ -26,13 +26,11 @@ namespace dxvk {
ULONG STDMETHODCALLTYPE D3D10Device::AddRef() {
// TODO implement properly
return m_device->AddRef();
}
ULONG STDMETHODCALLTYPE D3D10Device::Release() {
// TODO implement properly
return m_device->Release();
}
@ -41,7 +39,6 @@ namespace dxvk {
REFGUID guid,
UINT* pDataSize,
void* pData) {
// TODO implement properly
return m_device->GetPrivateData(guid, pDataSize, pData);
}
@ -50,7 +47,6 @@ namespace dxvk {
REFGUID guid,
UINT DataSize,
const void* pData) {
// TODO implement properly
return m_device->SetPrivateData(guid, DataSize, pData);
}
@ -58,7 +54,6 @@ namespace dxvk {
HRESULT STDMETHODCALLTYPE D3D10Device::SetPrivateDataInterface(
REFGUID guid,
const IUnknown* pData) {
// TODO implement properly
return m_device->SetPrivateDataInterface(guid, pData);
}
@ -80,13 +75,11 @@ namespace dxvk {
D3D10_FEATURE_LEVEL1 STDMETHODCALLTYPE D3D10Device::GetFeatureLevel() {
// TODO implement properly
return D3D10_FEATURE_LEVEL1(m_device->GetFeatureLevel());
}
void STDMETHODCALLTYPE D3D10Device::ClearState() {
// TODO implement properly
m_context->ClearState();
}

View File

@ -61,12 +61,8 @@ namespace dxvk {
*pUMDVersion = LARGE_INTEGER();
if (InterfaceName == __uuidof(ID3D10Device)
|| InterfaceName == __uuidof(ID3D10Device1)) {
Logger::warn("DXGI: CheckInterfaceSupport: No D3D10 support");
return m_factory->GetOptions()->fakeDx10Support
? S_OK : DXGI_ERROR_UNSUPPORTED;
}
|| InterfaceName == __uuidof(ID3D10Device1))
return S_OK;
Logger::err("DXGI: CheckInterfaceSupport: Unsupported interface");
Logger::err(str::format(InterfaceName));