mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 04:46:27 -05:00
shader: Mark ImageWrite with side effects
This commit is contained in:
parent
1be6705408
commit
d404b871d5
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue