radeonsi: fix assertion in si_bind_vs_sampler
authorChristian König <deathsimple@vodafone.de>
Wed, 25 Jul 2012 20:45:08 +0000 (22:45 +0200)
committerChristian König <deathsimple@vodafone.de>
Mon, 30 Jul 2012 13:01:55 +0000 (15:01 +0200)
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_state.c

index a80e169b0074c80383212171177f0656bbdf94eb..3da236cb9a17101f825abe1164cb4092728bdfe7 100644 (file)
@@ -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)