Issue
I've built 849c8c5 (I appreciate how easy it is to build) and ran it with the VS debugger attached. Inside GPU Reshape, I began process discovery so it automatically connects to my app.
When I launch my Vulkan 1.3 app, I get the following message from the debug message callback:
Layer VK_LAYER_GPUOPEN_GRS uses API version 1.2 which is older than the application specified API version of 1.3. May cause issues.
When the program continues, it crashes in vkCreateSwapchainKHR:
> GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!std::_Construct_in_place<ResourceState *,ResourceState * const &>(ResourceState * & _Obj, ResourceState * const & <_Args_0>) Line 388 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!std::vector<ResourceState *,ContainerAllocator<ResourceState *>>::_Emplace_back_with_unused_capacity<ResourceState * const &>(ResourceState * const & <_Val_0>) Line 791 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!std::vector<ResourceState *,ContainerAllocator<ResourceState *>>::_Emplace_one_at_back<ResourceState * const &>(ResourceState * const & <_Val_0>) Line 776 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!std::vector<ResourceState *,ContainerAllocator<ResourceState *>>::push_back(ResourceState * const & _Val) Line 867 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!TrackedObject<ResourceState>::AddNoLock(ResourceState * object) Line 100 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!TrackedObject<ResourceState>::Add(ResourceState * object) Line 86 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!CreateSwapchainBufferWrappers(SwapChainState * state, unsigned int count) Line 75 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!CreateSwapChainState<IDXGISwapChain1,DXGI_SWAP_CHAIN_DESC1 const>(const DXGIFactoryTable & table, IDXGIFactory * factory, ID3D12Device * device, IDXGISwapChain1 * swapChain, const DXGI_SWAP_CHAIN_DESC1 * desc) Line 96 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!HookIDXGIFactoryCreateSwapChainForHwnd(IDXGIFactory * factory, IUnknown * pDevice, HWND__ * hWnd, const DXGI_SWAP_CHAIN_DESC1 * pDesc, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC * pFullscreenDesc, IDXGIOutput * pRestrictToOutput, IDXGISwapChain1 * * ppSwapChain) Line 190 C++
GRS.Backends.DX12.Layer {E19ED291-B87A-4C8F-9153-D32494C78D3D}.dll!IDXGIFactoryWrapper::CreateSwapChainForHwnd(IUnknown * pDevice, HWND__ * hWnd, const DXGI_SWAP_CHAIN_DESC1 * pDesc, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC * pFullscreenDesc, IDXGIOutput * pRestrictToOutput, IDXGISwapChain1 * * ppSwapChain) Line 2953 C++
[External Code]
GRS.Backends.Vulkan.Layer.dll!Hook_vkCreateSwapchainKHR(VkDevice_T * device, const VkSwapchainCreateInfoKHR * pCreateInfo, const VkAllocationCallbacks * pAllocator, VkSwapchainKHR_T * * pSwapchain) Line 50 C++
If needed, I can provide more info since I can reliably produce a full stack trace with debug symbols for both applications, or email a link to a .dmp file I generated.
Issue
I've built 849c8c5 (I appreciate how easy it is to build) and ran it with the VS debugger attached. Inside GPU Reshape, I began process discovery so it automatically connects to my app.
When I launch my Vulkan 1.3 app, I get the following message from the debug message callback:
When the program continues, it crashes in
vkCreateSwapchainKHR:If needed, I can provide more info since I can reliably produce a full stack trace with debug symbols for both applications, or email a link to a .dmp file I generated.