llvmpipe: Implement index bias.
[mesa.git] / src / gallium / drivers / llvmpipe / lp_state.h
index d89c28a2af2223ee43baa84e644f74d57ef14528..dcbff190b62206657e2f4aa3353e0616970b70e4 100644 (file)
@@ -228,12 +228,12 @@ void llvmpipe_draw_arrays(struct pipe_context *pipe, unsigned mode,
 
 void llvmpipe_draw_elements(struct pipe_context *pipe,
                               struct pipe_resource *indexBuffer,
-                              unsigned indexSize,
+                              unsigned indexSize, int indexBias,
                               unsigned mode, unsigned start, unsigned count);
 void
 llvmpipe_draw_range_elements(struct pipe_context *pipe,
                              struct pipe_resource *indexBuffer,
-                             unsigned indexSize,
+                             unsigned indexSize, int indexBias,
                              unsigned min_index,
                              unsigned max_index,
                              unsigned mode, unsigned start, unsigned count);