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:

committed by
Brian Paul

parent
ed24d79ed7
commit
7413625ad3
@@ -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)
|
||||
|
Reference in New Issue
Block a user