Revert changes to zero_init_texture_after_discard#4739
Revert changes to zero_init_texture_after_discard#4739teoxoy wants to merge 1 commit intogfx-rs:trunkfrom
zero_init_texture_after_discard#4739Conversation
|
CI is running into a bunch of: @gents83 are those the same errors you also encountered? |
Sorry it tooks a while to find the correct changelist that I was trying to fix: Apparently it was very similar issue but on DX12 - it seems always a wrong state of the resource: [2023-10-14T10:51:15Z ERROR wgpu_hal::auxil::dxgi::exception] ID3D12CommandQueue::ExecuteCommandLists: Using ResourceBarrier on Command List (0x0000017CF97B0100:'Unnamed ID3D12GraphicsCommandList Object'): Before state (0xC0: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE|D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE) of resource (0x0000017CE19F1DB0:'RenderTarget') (subresource: 0) specified by transition barrier does not match with the state (0x10: D3D12_RESOURCE_STATE_DEPTH_WRITE) specified in the previous call to ResourceBarrier [ RESOURCE_MANIPULATION ERROR #527: RESOURCE_BARRIER_BEFORE_AFTER_MISMATCH] |
See #3626 (comment).