From: Keith Whitwell Date: Mon, 31 May 2010 15:43:45 +0000 (+0100) Subject: softpipe: remove assert on setting constbufs greater than zero X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14ce1860d43246dd4faca77a62581134b6f95c93;p=mesa.git softpipe: remove assert on setting constbufs greater than zero --- diff --git a/src/gallium/drivers/softpipe/sp_state_fs.c b/src/gallium/drivers/softpipe/sp_state_fs.c index 816e0c18bd2..2fff80c4385 100644 --- a/src/gallium/drivers/softpipe/sp_state_fs.c +++ b/src/gallium/drivers/softpipe/sp_state_fs.c @@ -183,7 +183,6 @@ softpipe_set_constant_buffer(struct pipe_context *pipe, const void *data = constants ? softpipe_resource(constants)->data : NULL; assert(shader < PIPE_SHADER_TYPES); - assert(index == 0); draw_flush(softpipe->draw);