mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #10020 from K0bin/d3d12-state-fix
D3D12: Transition compute textures to UAV state
This commit is contained in:
commit
a27dbe58a6
@ -319,6 +319,9 @@ void Renderer::SetComputeImageTexture(AbstractTexture* texture, bool read, bool
|
||||
return;
|
||||
|
||||
m_state.compute_image_texture = dxtex;
|
||||
if (dxtex)
|
||||
dxtex->TransitionToState(D3D12_RESOURCE_STATE_UNORDERED_ACCESS);
|
||||
|
||||
m_dirty_bits |= DirtyState_ComputeImageTexture;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user