gallium: Enable multiple constant buffers for vertex and geometry shaders.
[mesa.git] / src / gallium / drivers / nv20 / nv20_vbo.c
index 52991a0d85621a1106befb9825208be3c98fc662..6dc9538901363a98f6cd026b0dcebf9b89bc0343 100644 (file)
@@ -45,7 +45,7 @@ void nv20_draw_elements( struct pipe_context *pipe,
                draw_set_mapped_element_buffer(draw, 0, NULL);
        }
 
-       draw_set_mapped_constant_buffer(draw, PIPE_SHADER_VERTEX,
+       draw_set_mapped_constant_buffer(draw, PIPE_SHADER_VERTEX, 0,
                                        nv20->constbuf[PIPE_SHADER_VERTEX],
                                        nv20->constbuf_nr[PIPE_SHADER_VERTEX]);