draw: use same argument order for jit draw linear / elts functions
[mesa.git] / src / gallium / auxiliary / draw / draw_llvm.h
index 9ea100f9e43d7e7b2c241ace76733246e5f78626..8d4b4ae6db4acd3bdc5cc023a539ab55d4dadaf8 100644 (file)
@@ -265,8 +265,8 @@ typedef boolean
 (*draw_jit_vert_func)(struct draw_jit_context *context,
                       struct vertex_header *io,
                       const struct draw_vertex_buffer vbuffers[PIPE_MAX_ATTRIBS],
-                      unsigned start,
                       unsigned count,
+                      unsigned start,
                       unsigned stride,
                       struct pipe_vertex_buffer *vertex_buffers,
                       unsigned instance_id,
@@ -278,14 +278,14 @@ typedef boolean
 (*draw_jit_vert_func_elts)(struct draw_jit_context *context,
                            struct vertex_header *io,
                            const struct draw_vertex_buffer vbuffers[PIPE_MAX_ATTRIBS],
-                           const unsigned *fetch_elts,
+                           unsigned count,
                            unsigned fetch_max_elt,
-                           unsigned fetch_count,
                            unsigned stride,
                            struct pipe_vertex_buffer *vertex_buffers,
                            unsigned instance_id,
                            unsigned vertex_id_offset,
-                           unsigned start_instance);
+                           unsigned start_instance,
+                           const unsigned *fetch_elts);
 
 
 typedef int