summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/builtin_variables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp
index 7a64acc9e6d..6fc9183ad14 100644
--- a/src/glsl/builtin_variables.cpp
+++ b/src/glsl/builtin_variables.cpp
@@ -830,7 +830,7 @@ builtin_variable_generator::generate_varyings()
GLSL_INTERFACE_PACKING_STD140,
"gl_in");
ir_variable *var = add_variable("gl_in", array(per_vertex_type, 0),
- ir_var_shader_in, 0);
+ ir_var_shader_in, -1);
var->init_interface_type(per_vertex_type);
}
}