softpipe: remove assert on setting constbufs greater than zero
authorKeith Whitwell <keithw@vmware.com>
Mon, 31 May 2010 15:43:45 +0000 (16:43 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 7 Jun 2010 15:40:05 +0000 (16:40 +0100)
src/gallium/drivers/softpipe/sp_state_fs.c

index 816e0c18bd2b898ca714dc086436f53c164ef5f3..2fff80c4385305ed122a251b43184ed0434982da 100644 (file)
@@ -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);