summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4
diff options
context:
space:
mode:
authorKai Wasserbäch <kai@dev.carbon-project.org>2016-08-27 04:08:00 -0600
committerBrian Paul <brianp@vmware.com>2016-08-29 08:45:48 -0600
commit7413625ad357c87f409cd1673b40f8dffbc43259 (patch)
tree238163910ff8f8b3abfc45350618e7eecf3c55ea /src/gallium/drivers/vc4
parented24d79ed712f22ca12a1986a024c522d202dc37 (diff)
downloadexternal_mesa3d-7413625ad357c87f409cd1673b40f8dffbc43259.zip
external_mesa3d-7413625ad357c87f409cd1673b40f8dffbc43259.tar.gz
external_mesa3d-7413625ad357c87f409cd1673b40f8dffbc43259.tar.bz2
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>
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r--src/gallium/drivers/vc4/vc4_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_state.c b/src/gallium/drivers/vc4/vc4_state.c
index 19aae35..5706765 100644
--- a/src/gallium/drivers/vc4/vc4_state.c
+++ b/src/gallium/drivers/vc4/vc4_state.c
@@ -559,7 +559,7 @@ vc4_create_sampler_state(struct pipe_context *pctx,
static void
vc4_sampler_states_bind(struct pipe_context *pctx,
- unsigned shader, unsigned start,
+ enum pipe_shader_type shader, unsigned start,
unsigned nr, void **hwcso)
{
struct vc4_context *vc4 = vc4_context(pctx);