Mesa (master): st/mesa: s/unsigned/enum pipe_shader_type/ for st_bind_ubos()

Brian Paul brianp at kemper.freedesktop.org
Fri Mar 23 15:30:58 UTC 2018


Module: Mesa
Branch: master
Commit: e31d5bd2f9d351db95f2bf4f92b297815745d25a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e31d5bd2f9d351db95f2bf4f92b297815745d25a

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Mar 15 08:25:43 2018 -0600

st/mesa: s/unsigned/enum pipe_shader_type/ for st_bind_ubos()

Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Neha Bhende <bhenden at vmware.com>

---

 src/mesa/state_tracker/st_atom_constbuf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c
index 0c094dcf92..6455e612e4 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 };




More information about the mesa-commit mailing list