-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I am very excited about GPU reshape and look forward to using it to find problems in an open sourced rapid prototyping / development / research application called Gigi that we use at Electronic Arts:
https://github.com/electronicarts/gigi/
When I turn on discovery, then run GigiViewerDX12 (in debug), this call leaves g_pd3dInfoQueue null. The device is a ID3D12Device2*, and the info queue is a ID3D12InfoQueue*.
g_pd3dDevice->QueryInterface(IID_PPV_ARGS(&g_pd3dInfoQueue));
The crash is due to a lack of a null check, but adding a null check then results in a crash in a CreateRenderTargetView call later on (in debug and release both)
Exception thrown at 0x00007FFBF81EFA4C in GigiViewerDX12.exe: Microsoft C++ exception: std::out_of_range at memory location 0x00000091450FEC00.
ucrtbase.dll!00007ffbf88df6fe() Unknown
ucrtbase.dll!00007ffbf88dee19() Unknown
vcruntime140_1.dll!00007ffbda191ab1() Unknown
vcruntime140_1.dll!00007ffbda19232f() Unknown
vcruntime140_1.dll!00007ffbda192389() Unknown
vcruntime140_1.dll!00007ffbda194189() Unknown
ntdll.dll!00007ffbfaf3527f() Unknown
ntdll.dll!00007ffbfaeae886() Unknown
ntdll.dll!00007ffbfaf3426e() Unknown
KernelBase.dll!00007ffbf81efa4c() Unknown
vcruntime140.dll!00007ffbd9f66ba7() Unknown
msvcp140.dll!00007ffbbbd09542() Unknown
GRS.Backends.DX12.Layer.dll!00007ffab35e3520() Unknown
GRS.Backends.DX12.Layer.dll!00007ffab35e0b01() Unknown
GRS.Backends.DX12.Layer.dll!00007ffab35e2260() Unknown
WinPixGpuCapturer.dll!00007ffab447c8a0() Unknown
> GigiViewerDX12.exe!CreateRenderTarget() Line 7852 C++
GigiViewerDX12.exe!WndProc(HWND__ * hWnd, unsigned int msg, unsigned __int64 wParam, __int64 lParam) Line 7926 C++
[External Code]
GigiViewerDX12.exe!main(int argc, char * * argv) Line 7359 C++
[External Code]
I've tried updating the Agility SDK to the latest version, but that didn't affect anything. I've also updated my video driver, and ensured all windows updates were applied, and rebooted. I've tried other things as well, but no luck.
My code is open sourced on github at the repo I linked, so you can see this for yourself, but please also let me know if there's any more information I can give, or anything you'd like me to try.
Thanks!