diff options
Diffstat (limited to 'src/shader_recompiler/frontend/ir')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.cpp | 4 | ||||
| -rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp index e4e9b260c..13eb2de4c 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp +++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp | |||
| @@ -307,11 +307,11 @@ void IREmitter::SetAttribute(IR::Attribute attribute, const F32& value) { | |||
| 307 | Inst(Opcode::SetAttribute, attribute, value); | 307 | Inst(Opcode::SetAttribute, attribute, value); |
| 308 | } | 308 | } |
| 309 | 309 | ||
| 310 | F32 IREmitter::GetAttributeIndexed(IR::U32 phys_address) { | 310 | F32 IREmitter::GetAttributeIndexed(const U32& phys_address) { |
| 311 | return Inst<F32>(Opcode::GetAttributeIndexed, phys_address); | 311 | return Inst<F32>(Opcode::GetAttributeIndexed, phys_address); |
| 312 | } | 312 | } |
| 313 | 313 | ||
| 314 | void IREmitter::SetAttributeIndexed(IR::U32 phys_address, const F32& value) { | 314 | void IREmitter::SetAttributeIndexed(const U32& phys_address, const F32& value) { |
| 315 | Inst(Opcode::SetAttributeIndexed, phys_address, value); | 315 | Inst(Opcode::SetAttributeIndexed, phys_address, value); |
| 316 | } | 316 | } |
| 317 | 317 | ||
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h index afa8bd924..2cab1dc5d 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.h +++ b/src/shader_recompiler/frontend/ir/ir_emitter.h | |||
| @@ -76,8 +76,8 @@ public: | |||
| 76 | [[nodiscard]] F32 GetAttribute(IR::Attribute attribute); | 76 | [[nodiscard]] F32 GetAttribute(IR::Attribute attribute); |
| 77 | void SetAttribute(IR::Attribute attribute, const F32& value); | 77 | void SetAttribute(IR::Attribute attribute, const F32& value); |
| 78 | 78 | ||
| 79 | [[nodiscard]] F32 GetAttributeIndexed(IR::U32 phys_address); | 79 | [[nodiscard]] F32 GetAttributeIndexed(const U32& phys_address); |
| 80 | void SetAttributeIndexed(IR::U32 phys_address, const F32& value); | 80 | void SetAttributeIndexed(const U32& phys_address, const F32& value); |
| 81 | 81 | ||
| 82 | void SetFragColor(u32 index, u32 component, const F32& value); | 82 | void SetFragColor(u32 index, u32 component, const F32& value); |
| 83 | void SetFragDepth(const F32& value); | 83 | void SetFragDepth(const F32& value); |