mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-19 16:59:13 +00:00
VideoBackends: support multiple compute images for some backends (D3D, OGL, Vulkan)
This commit is contained in:
parent
61c45e8d68
commit
3627398cf5
21 changed files with 107 additions and 59 deletions
|
|
@ -263,7 +263,7 @@ void Gfx::SetSamplerState(u32 index, const SamplerState& state)
|
|||
m_dirty_bits |= DirtyState_Samplers;
|
||||
}
|
||||
|
||||
void Gfx::SetComputeImageTexture(AbstractTexture* texture, bool read, bool write)
|
||||
void Gfx::SetComputeImageTexture(u32 index, AbstractTexture* texture, bool read, bool write)
|
||||
{
|
||||
const DXTexture* dxtex = static_cast<const DXTexture*>(texture);
|
||||
if (m_state.compute_image_texture == dxtex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue