GS/DX12: Init RWTexture as direct queue shader resource

This commit is contained in:
TheLastRar
2026-05-21 23:55:22 +02:00
committed by lightningterror
parent a19b3747ea
commit f86cd4c3d2
+1 -1
View File
@@ -128,7 +128,7 @@ static D3D12_BARRIER_LAYOUT GetD3D12BarrierLayout(GSTexture12::ResourceState sta
return D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_WRITE;
case GSTexture12::ResourceState::PixelShaderResource:
case GSTexture12::ResourceState::ComputeShaderResource:
return D3D12_BARRIER_LAYOUT_SHADER_RESOURCE;
return D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_SHADER_RESOURCE;
case GSTexture12::ResourceState::CopySrc:
return D3D12_BARRIER_LAYOUT_DIRECT_QUEUE_COPY_SOURCE;
case GSTexture12::ResourceState::CopyDst: