summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-04-05 04:03:12 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:26 +0200
commitdcaf0e91508562a70a49db7011ad09f13f811d71 (patch)
tree9d3f48adc0a94c6a8b411a8e98c0e7a2d06b1d81 /src/shader_recompiler/frontend/ir/ir_emitter.h
parentshader: Implement indexed Position and ClipDistances (diff)
downloadyuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar.gz
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar.bz2
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar.lz
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar.xz
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.tar.zst
yuzu-dcaf0e91508562a70a49db7011ad09f13f811d71.zip
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.h4
1 files changed, 2 insertions, 2 deletions
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:
[[nodiscard]] F32 GetAttribute(IR::Attribute attribute);
void SetAttribute(IR::Attribute attribute, const F32& value);
- [[nodiscard]] F32 GetAttributeIndexed(IR::U32 phys_address);
- void SetAttributeIndexed(IR::U32 phys_address, const F32& value);
+ [[nodiscard]] F32 GetAttributeIndexed(const U32& phys_address);
+ void SetAttributeIndexed(const U32& phys_address, const F32& value);
void SetFragColor(u32 index, u32 component, const F32& value);
void SetFragDepth(const F32& value);