From ad15c8c0f199e293b5c49a9c614cfaa19edb9a62 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Wed, 25 Jul 2012 22:45:08 +0200 Subject: [PATCH] radeonsi: fix assertion in si_bind_vs_sampler MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König Reviewed-by: Michel Dänzer --- src/gallium/drivers/radeonsi/si_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2