st/mesa: s/unsigned/enum pipe_shader_type/ for st_bind_ubos()
authorBrian Paul <brianp@vmware.com>
Thu, 15 Mar 2018 14:25:43 +0000 (08:25 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 23 Mar 2018 15:03:26 +0000 (09:03 -0600)
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Neha Bhende <bhenden@vmware.com>
src/mesa/state_tracker/st_atom_constbuf.c

index 0c094dcf92100d509a135ebb462350fe4fe5d107..6455e612e4ee556f02f57348021c01cda91a5741 100644 (file)
@@ -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 };