svga: Performance fixes
[mesa.git] / src / gallium / drivers / svga / svga_draw.h
index baefcd94ec86a59d3455ca486299978b6ebb4c99..56d5127051db40fad4e2efa058fc9fc06edc9d58 100644 (file)
@@ -60,17 +60,13 @@ svga_hwtnl_vertex_buffers(struct svga_hwtnl *hwtnl,
 enum pipe_error
 svga_hwtnl_draw_arrays(struct svga_hwtnl *hwtnl,
                        enum pipe_prim_type prim, unsigned start, unsigned count,
-                       unsigned start_instance, unsigned instance_count);
+                       unsigned start_instance, unsigned instance_count,
+                       ubyte vertices_per_patch);
 
 enum pipe_error
 svga_hwtnl_draw_range_elements(struct svga_hwtnl *hwtnl,
-                               struct pipe_resource *indexBuffer,
-                               unsigned index_size,
-                               int index_bias,
-                               unsigned min_index,
-                               unsigned max_index,
-                               enum pipe_prim_type prim, unsigned start, unsigned count,
-                               unsigned start_instance, unsigned instance_count);
+                               const struct pipe_draw_info *info,
+                               unsigned count);
 
 boolean
 svga_hwtnl_is_buffer_referred(struct svga_hwtnl *hwtnl,
@@ -80,5 +76,4 @@ enum pipe_error svga_hwtnl_flush(struct svga_hwtnl *hwtnl);
 
 void svga_hwtnl_set_index_bias(struct svga_hwtnl *hwtnl, int index_bias);
 
-
 #endif /* SVGA_DRAW_H_ */