mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Don't return a time-bomb unwrapped resource from CreateReservedResource
* This resource will fail when passed to any other function, so since we don't support tiled resources currently on D3D12 just print a stronger error and return an error.
This commit is contained in:
@@ -1606,9 +1606,8 @@ HRESULT WrappedID3D12Device::CreateReservedResource(const D3D12_RESOURCE_DESC *p
|
||||
const D3D12_CLEAR_VALUE *pOptimizedClearValue,
|
||||
REFIID riid, void **ppvResource)
|
||||
{
|
||||
D3D12NOTIMP("Tiled Resources");
|
||||
return m_pDevice->CreateReservedResource(pDesc, InitialState, pOptimizedClearValue, riid,
|
||||
ppvResource);
|
||||
RDCERR("Tiled Resources are not currently implemented on D3D12");
|
||||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
template <typename SerialiserType>
|
||||
|
||||
Reference in New Issue
Block a user