Mesa (master): softpipe: remove assert on setting constbufs greater than zero

Keith Whitwell keithw at kemper.freedesktop.org
Mon Jun 7 16:13:53 UTC 2010


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

Author: Keith Whitwell <keithw at vmware.com>
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);
 




More information about the mesa-commit mailing list