summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristian König <deathsimple@vodafone.de>2012-07-25 22:45:08 +0200
committerChristian König <deathsimple@vodafone.de>2012-07-30 15:01:55 +0200
commitad15c8c0f199e293b5c49a9c614cfaa19edb9a62 (patch)
tree053b75dcb7f03d88f60874829b66dce537791394 /src/gallium
parent1fb8ee62faf081e6a5588e99620a9883e3788c46 (diff)
downloadexternal_mesa3d-ad15c8c0f199e293b5c49a9c614cfaa19edb9a62.zip
external_mesa3d-ad15c8c0f199e293b5c49a9c614cfaa19edb9a62.tar.gz
external_mesa3d-ad15c8c0f199e293b5c49a9c614cfaa19edb9a62.tar.bz2
radeonsi: fix assertion in si_bind_vs_sampler
Signed-off-by: Christian König <deathsimple@vodafone.de> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium')
-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 a80e169..3da236c 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)