From 7413625ad357c87f409cd1673b40f8dffbc43259 Mon Sep 17 00:00:00 2001 From: Kai Wasserbäch Date: Sat, 27 Aug 2016 04:08:00 -0600 Subject: gallium: Use enum pipe_shader_type in bind_sampler_states() (v2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Samuel Pitoiset Reviewed-by: Brian Paul --- src/mesa/state_tracker/st_atom_sampler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') diff --git a/src/mesa/state_tracker/st_atom_sampler.c b/src/mesa/state_tracker/st_atom_sampler.c index 88ae7a09e46..6b36ac74aad 100644 --- a/src/mesa/state_tracker/st_atom_sampler.c +++ b/src/mesa/state_tracker/st_atom_sampler.c @@ -237,7 +237,7 @@ convert_sampler(struct st_context *st, */ static void update_shader_samplers(struct st_context *st, - unsigned shader_stage, + enum pipe_shader_type shader_stage, const struct gl_program *prog, unsigned max_units, struct pipe_sampler_state *samplers, -- cgit v1.2.3