diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c index 0c094dcf921..6455e612e4e 100644 --- a/src/mesa/state_tracker/st_atom_constbuf.c +++ b/src/mesa/state_tracker/st_atom_constbuf.c @@ -196,7 +196,7 @@ st_update_cs_constants(struct st_context *st) static void st_bind_ubos(struct st_context *st, struct gl_program *prog, - unsigned shader_type) + enum pipe_shader_type shader_type) { unsigned i; struct pipe_constant_buffer cb = { 0 };