mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
D3D12: Transition compute textures to UAV state
This commit is contained in:
parent
b0346ca980
commit
40dcf1c2e2
1 changed files with 3 additions and 0 deletions
|
@ -319,6 +319,9 @@ void Renderer::SetComputeImageTexture(AbstractTexture* texture, bool read, bool
|
||||||
return;
|
return;
|
||||||
|
|
||||||
m_state.compute_image_texture = dxtex;
|
m_state.compute_image_texture = dxtex;
|
||||||
|
if (dxtex)
|
||||||
|
dxtex->TransitionToState(D3D12_RESOURCE_STATE_UNORDERED_ACCESS);
|
||||||
|
|
||||||
m_dirty_bits |= DirtyState_ComputeImageTexture;
|
m_dirty_bits |= DirtyState_ComputeImageTexture;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue