FidelityFX-FSR2
FidelityFX-FSR2 copied to clipboard
DX12 validation errors on `ResourceBarrier` usage
On the most recent FSR2 release, I seem to be getting a number of validation errors due to mismatching before and after states on various resources used:
D3D12 ERROR: ID3D12CommandQueue::ExecuteCommandLists: Using ResourceBarrier on Command List (0x0000016E13D7B980:'Merged'): Before state (0x8: D3D12_RESOURCE_STATE_UNORDERED_ACCESS) of resource (0x0000016CFB9D2310:'FSR2_LockStatus1') (subresource: 0) specified by transition barrier does not match with the state (0x40: D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE) specified in the previous call to ResourceBarrier [ RESOURCE_MANIPULATION ERROR #527: RESOURCE_BARRIER_BEFORE_AFTER_MISMATCH]
This appears to happen on the two lock status resources