summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-05-31 16:43:45 +0100
committerKeith Whitwell <keithw@vmware.com>2010-06-07 16:40:05 +0100
commit14ce1860d43246dd4faca77a62581134b6f95c93 (patch)
tree55ec3d6f10d3ec296cf543a44428074cea03eb26
parenta6d9d18faecef9963be3e4b64a21b89889b4670d (diff)
softpipe: remove assert on setting constbufs greater than zero
-rw-r--r--src/gallium/drivers/softpipe/sp_state_fs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_fs.c b/src/gallium/drivers/softpipe/sp_state_fs.c
index 816e0c18bd..2fff80c438 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);