Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0 Beta
-
None
-
9fdab4a3619f457f66716c74ea73355453557e52
Description
Something recent broke text rendering with the Direct3D 12 backend on AMD Radeon at least. Launch some examples with QT_QUICK_BACKEND=d3d12. The text is all wrong.
NVIDIA 368 and 375 look ok with Win10 (all versions). However, after the anniversary upgrade, QT_D3D_DEBUG=1 starts failing with
[7948] D3D12 ERROR: ID3D12CommandQueue::ExecuteCommandLists: Using ResourceBarrier on Command List (0x000001AB833375D0:'Unnamed ID3D12GraphicsCommandList Object'): Before state (0x80: D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE) of resource (0x000001AB8793C1F0:'Unnamed ID3D12Resource Object') (subresource: 0) specified by transition barrier does not match with the state (0x4: D3D12_RESOURCE_STATE_RENDER_TARGET) specified in the previous call to ResourceBarrier [ RESOURCE_MANIPULATION ERROR #527: RESOURCE_BARRIER_BEFORE_AFTER_MISMATCH] [7948] D3D12: **BREAK** enabled for the previous message, which was: [ ERROR RESOURCE_MANIPULATION #527: RESOURCE_BARRIER_BEFORE_AFTER_MISMATCH ]