summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/ir_emitter.h
diff options
context:
space:
mode:
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, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h
index e70359eb1..7f8f1ad42 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.h
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h
@@ -84,6 +84,9 @@ public:
84 [[nodiscard]] F32 GetAttributeIndexed(const U32& phys_address, const U32& vertex); 84 [[nodiscard]] F32 GetAttributeIndexed(const U32& phys_address, const U32& vertex);
85 void SetAttributeIndexed(const U32& phys_address, const F32& value, const U32& vertex); 85 void SetAttributeIndexed(const U32& phys_address, const F32& value, const U32& vertex);
86 86
87 [[nodiscard]] F32 GetPatch(Patch patch);
88 void SetPatch(Patch patch, const F32& value);
89
87 void SetFragColor(u32 index, u32 component, const F32& value); 90 void SetFragColor(u32 index, u32 component, const F32& value);
88 void SetFragDepth(const F32& value); 91 void SetFragDepth(const F32& value);
89 92
@@ -95,6 +98,7 @@ public:
95 [[nodiscard]] U32 LocalInvocationIdY(); 98 [[nodiscard]] U32 LocalInvocationIdY();
96 [[nodiscard]] U32 LocalInvocationIdZ(); 99 [[nodiscard]] U32 LocalInvocationIdZ();
97 100
101 [[nodiscard]] U32 InvocationId();
98 [[nodiscard]] U1 IsHelperInvocation(); 102 [[nodiscard]] U1 IsHelperInvocation();
99 103
100 [[nodiscard]] U32 LaneId(); 104 [[nodiscard]] U32 LaneId();