From: Christian König Date: Wed, 25 Jul 2012 20:45:08 +0000 (+0200) Subject: radeonsi: fix assertion in si_bind_vs_sampler X-Git-Tag: mesa-9.0~889 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad15c8c0f199e293b5c49a9c614cfaa19edb9a62;p=platform%2Fupstream%2Fmesa.git radeonsi: fix assertion in si_bind_vs_sampler Signed-off-by: Christian König Reviewed-by: Michel Dänzer --- 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)