summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/lower_distance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/glsl/lower_distance.cpp')
-rw-r--r--src/compiler/glsl/lower_distance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_distance.cpp b/src/compiler/glsl/lower_distance.cpp
index c2158f24f39..e2d7e2a5886 100644
--- a/src/compiler/glsl/lower_distance.cpp
+++ b/src/compiler/glsl/lower_distance.cpp
@@ -654,7 +654,8 @@ lower_distance_visitor_counter::handle_rvalue(ir_rvalue **rv)
}
bool
-lower_clip_cull_distance(struct gl_shader_program *prog, gl_shader *shader)
+lower_clip_cull_distance(struct gl_shader_program *prog,
+ struct gl_linked_shader *shader)
{
int clip_size, cull_size;