Module: Mesa
Branch: master
Commit: 14ce1860d43246dd4faca77a62581134b6f95c93
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=14ce1860d43246dd4faca77a62581134b6f95c93

Author: Keith Whitwell <[email protected]>
Date:   Mon May 31 16:43:45 2010 +0100

softpipe: remove assert on setting constbufs greater than zero

---

 src/gallium/drivers/softpipe/sp_state_fs.c |    1 -
 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 816e0c1..2fff80c 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);
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to