wgpu_hal problem
#14531
Replies: 2 comments 5 replies
-
If you are on Windows run |
Beta Was this translation helpful? Give feedback.
2 replies
-
How can I just set it to be vulkan without env variable? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I am running the example of 2D shape, there are some errors:
ERROR wgpu_hal::auxil::dxgi::exception: ID3D12CommandQueue::ExecuteCommandLists: Using ClearRenderTargetView on Command List (0x000001EB6DBDB290:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0xBF53EAF0: D3D12_RESOURCE_STATE_[COMMON|PRESENT]) of resource (0x000001EB6DAEDFD0:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a render target. Expected State Bits (all): 0xBF53EAD0 : D3D12_RESOURCE_STATE_RENDER_TARGET, Actual State: 0xBF53EAB0: D3D12_RESOURCE_STATE_[COMMON|PRESENT], Missing State: 0x4: D3D12_RESOURCE_STATE_RENDER_TARGET. [ EXECUTION ERROR #538: INVALID_SUBRESOURCE_STATE]
My computer is AMD radeon GPU and some people say use
WGPU_BACKEND= vulkan
can fix this problem but I don't know how to do that.Beta Was this translation helpful? Give feedback.
All reactions