diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir/microinstruction.h')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/microinstruction.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/microinstruction.h b/src/shader_recompiler/frontend/ir/microinstruction.h index 5b244fa0b..321393dd7 100644 --- a/src/shader_recompiler/frontend/ir/microinstruction.h +++ b/src/shader_recompiler/frontend/ir/microinstruction.h | |||
| @@ -86,6 +86,8 @@ public: | |||
| 86 | 86 | ||
| 87 | void ReplaceUsesWith(Value replacement); | 87 | void ReplaceUsesWith(Value replacement); |
| 88 | 88 | ||
| 89 | void ReplaceOpcode(IR::Opcode opcode); | ||
| 90 | |||
| 89 | template <typename FlagsType> | 91 | template <typename FlagsType> |
| 90 | requires(sizeof(FlagsType) <= sizeof(u32) && std::is_trivially_copyable_v<FlagsType>) | 92 | requires(sizeof(FlagsType) <= sizeof(u32) && std::is_trivially_copyable_v<FlagsType>) |
| 91 | [[nodiscard]] FlagsType Flags() const noexcept { | 93 | [[nodiscard]] FlagsType Flags() const noexcept { |