diff options
author | Kai Wasserbäch <[email protected]> | 2016-08-27 04:08:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-08-29 09:07:33 -0600 |
commit | 15fe288deae0373f566f8f723c915d8c8f89ffa6 (patch) | |
tree | 065ac8f9e2594ad648b31b538c34d324e696f303 /src/mesa | |
parent | 532db3b7881f3dfcd299320cbf44443d06b88373 (diff) |
gallium: Use enum pipe_shader_type in set_shader_buffers()
Signed-off-by: Kai Wasserbäch <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_atom_atomicbuf.c | 2 | ||||
-rw-r--r-- | src/mesa/state_tracker/st_atom_storagebuf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_atom_atomicbuf.c b/src/mesa/state_tracker/st_atom_atomicbuf.c index 7dde76a77f1..f48ae61377f 100644 --- a/src/mesa/state_tracker/st_atom_atomicbuf.c +++ b/src/mesa/state_tracker/st_atom_atomicbuf.c @@ -43,7 +43,7 @@ static void st_bind_atomics(struct st_context *st, struct gl_shader_program *prog, - unsigned shader_type) + enum pipe_shader_type shader_type) { unsigned i; diff --git a/src/mesa/state_tracker/st_atom_storagebuf.c b/src/mesa/state_tracker/st_atom_storagebuf.c index a5a760e5ac0..1b6ed99e54a 100644 --- a/src/mesa/state_tracker/st_atom_storagebuf.c +++ b/src/mesa/state_tracker/st_atom_storagebuf.c @@ -42,7 +42,7 @@ static void st_bind_ssbos(struct st_context *st, struct gl_linked_shader *shader, - unsigned shader_type) + enum pipe_shader_type shader_type) { unsigned i; struct pipe_shader_buffer buffers[MAX_SHADER_STORAGE_BUFFERS]; |