summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/spirv/emit_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_context.h')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_context.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_context.h b/src/shader_recompiler/backend/spirv/emit_context.h
index 0da14d5f8..ba0a253b3 100644
--- a/src/shader_recompiler/backend/spirv/emit_context.h
+++ b/src/shader_recompiler/backend/spirv/emit_context.h
@@ -147,6 +147,7 @@ public:
147 147
148 Id workgroup_id{}; 148 Id workgroup_id{};
149 Id local_invocation_id{}; 149 Id local_invocation_id{};
150 Id invocation_id{};
150 Id is_helper_invocation{}; 151 Id is_helper_invocation{};
151 Id subgroup_local_invocation_id{}; 152 Id subgroup_local_invocation_id{};
152 Id subgroup_mask_eq{}; 153 Id subgroup_mask_eq{};
@@ -162,6 +163,7 @@ public:
162 Id base_vertex{}; 163 Id base_vertex{};
163 Id front_face{}; 164 Id front_face{};
164 Id point_coord{}; 165 Id point_coord{};
166 Id tess_coord{};
165 Id clip_distances{}; 167 Id clip_distances{};
166 Id layer{}; 168 Id layer{};
167 Id viewport_index{}; 169 Id viewport_index{};
@@ -204,6 +206,10 @@ public:
204 Id output_position{}; 206 Id output_position{};
205 std::array<std::array<GenericElementInfo, 4>, 32> output_generics{}; 207 std::array<std::array<GenericElementInfo, 4>, 32> output_generics{};
206 208
209 Id output_tess_level_outer{};
210 Id output_tess_level_inner{};
211 std::array<Id, 30> patches{};
212
207 std::array<Id, 8> frag_color{}; 213 std::array<Id, 8> frag_color{};
208 Id frag_depth{}; 214 Id frag_depth{};
209 215
@@ -212,7 +218,7 @@ public:
212private: 218private:
213 void DefineCommonTypes(const Info& info); 219 void DefineCommonTypes(const Info& info);
214 void DefineCommonConstants(); 220 void DefineCommonConstants();
215 void DefineInterfaces(const Info& info); 221 void DefineInterfaces(const IR::Program& program);
216 void DefineLocalMemory(const IR::Program& program); 222 void DefineLocalMemory(const IR::Program& program);
217 void DefineSharedMemory(const IR::Program& program); 223 void DefineSharedMemory(const IR::Program& program);
218 void DefineSharedMemoryFunctions(const IR::Program& program); 224 void DefineSharedMemoryFunctions(const IR::Program& program);
@@ -226,7 +232,7 @@ private:
226 void DefineLabels(IR::Program& program); 232 void DefineLabels(IR::Program& program);
227 233
228 void DefineInputs(const Info& info); 234 void DefineInputs(const Info& info);
229 void DefineOutputs(const Info& info); 235 void DefineOutputs(const IR::Program& program);
230}; 236};
231 237
232} // namespace Shader::Backend::SPIRV 238} // namespace Shader::Backend::SPIRV