summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_special.cpp')
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_special.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
index 6420aaa21..298881c7b 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp
@@ -20,8 +20,8 @@ void InitializeOutputVaryings(EmitContext& ctx) {
20 if (ctx.stage == Stage::VertexB || ctx.stage == Stage::Geometry) { 20 if (ctx.stage == Stage::VertexB || ctx.stage == Stage::Geometry) {
21 ctx.Add("gl_Position=vec4(0,0,0,1);"); 21 ctx.Add("gl_Position=vec4(0,0,0,1);");
22 } 22 }
23 for (size_t index = 0; index < ctx.info.stores_generics.size(); ++index) { 23 for (size_t index = 0; index < IR::NUM_GENERICS; ++index) {
24 if (!ctx.info.stores_generics[index]) { 24 if (!ctx.info.stores.Generic(index)) {
25 continue; 25 continue;
26 } 26 }
27 const auto& info_array{ctx.output_generics.at(index)}; 27 const auto& info_array{ctx.output_generics.at(index)};