yuzu-emu
/
yuzu
Archived
1
0
Fork 0

shader: Mark ImageWrite with side effects

This commit is contained in:
ReinUsesLisp 2021-04-10 16:46:26 -03:00 committed by ameerj
parent 1be6705408
commit d404b871d5
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ bool Inst::MayHaveSideEffects() const noexcept {
case Opcode::WriteSharedU32: case Opcode::WriteSharedU32:
case Opcode::WriteSharedU64: case Opcode::WriteSharedU64:
case Opcode::WriteSharedU128: case Opcode::WriteSharedU128:
case Opcode::BindlessImageWrite:
case Opcode::BoundImageWrite:
case Opcode::ImageWrite:
return true; return true;
default: default:
return false; return false;