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

View file

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