summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/ir_emitter.cpp
diff options
context:
space:
mode:
authorGravatar FernandoS272021-04-05 04:03:12 +0200
committerGravatar ameerj2021-07-22 21:51:26 -0400
commitdcaf0e91508562a70a49db7011ad09f13f811d71 (patch)
tree9d3f48adc0a94c6a8b411a8e98c0e7a2d06b1d81 /src/shader_recompiler/frontend/ir/ir_emitter.cpp
parentshader: Implement indexed Position and ClipDistances (diff)
downloadyuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar.gz
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar.xz
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.zip
shader: Address feedback
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.cpp')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.cpp4
1 files changed, 2 insertions, 2 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
310F32 IREmitter::GetAttributeIndexed(IR::U32 phys_address) { 310F32 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
314void IREmitter::SetAttributeIndexed(IR::U32 phys_address, const F32& value) { 314void 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