summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2012-07-25 22:45:08 +0200
committerChristian König <[email protected]>2012-07-30 15:01:55 +0200
commitad15c8c0f199e293b5c49a9c614cfaa19edb9a62 (patch)
tree053b75dcb7f03d88f60874829b66dce537791394 /src/gallium/drivers/radeonsi/si_state.c
parent1fb8ee62faf081e6a5588e99620a9883e3788c46 (diff)
radeonsi: fix assertion in si_bind_vs_sampler
Signed-off-by: Christian König <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index a80e169b007..3da236cb9a1 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -1973,7 +1973,7 @@ out:
static void si_bind_vs_sampler(struct pipe_context *ctx, unsigned count, void **states)
{
- assert(0);
+ assert(count == 0);
}
static void si_bind_ps_sampler(struct pipe_context *ctx, unsigned count, void **states)