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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad15c8c0f199e293b5c49a9c614cfaa19edb9a62;p=mesa.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 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)