summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_vertex_id.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/lower_vertex_id.cpp')
-rw-r--r--src/compiler/glsl/lower_vertex_id.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_vertex_id.cpp b/src/compiler/glsl/lower_vertex_id.cpp
index ee69d940388..412b97e527b 100644
--- a/src/compiler/glsl/lower_vertex_id.cpp
+++ b/src/compiler/glsl/lower_vertex_id.cpp
@@ -122,7 +122,7 @@ lower_vertex_id_visitor::visit(ir_dereference_variable *ir)
}
bool
-lower_vertex_id(gl_shader *shader)
+lower_vertex_id(gl_linked_shader *shader)
{
/* gl_VertexID only exists in the vertex shader.
*/