gallium: Use enum pipe_shader_type in bind_sampler_states() (v2)

v1 → v2:
 - Fixed indentation (noted by Brian Paul)
 - Removed second assert from nouveau's switch statements (suggested by
   Brian Paul)

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Kai Wasserbäch
2016-08-27 04:08:00 -06:00
committed by Brian Paul
parent ed24d79ed7
commit 7413625ad3
28 changed files with 63 additions and 38 deletions

View File

@@ -49,7 +49,7 @@
*/
static void
softpipe_bind_sampler_states(struct pipe_context *pipe,
unsigned shader,
enum pipe_shader_type shader,
unsigned start,
unsigned num,
void **samplers)