From ad15c8c0f199e293b5c49a9c614cfaa19edb9a62 Mon Sep 17 00:00:00 2001 From: Christian König Date: Wed, 25 Jul 2012 22:45:08 +0200 Subject: radeonsi: fix assertion in si_bind_vs_sampler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(-) (limited to 'src/gallium/drivers') 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) -- cgit v1.2.3