r300g: add generating texture coordinates for point sprites
[mesa.git] / src / gallium / drivers / r300 / r300_render.h
index 870e1fb53d17f3a66e81a540d0c158093d9e6faa..b8307c84d3de2063ea220574d01ec0a413a95f20 100644 (file)
@@ -35,7 +35,7 @@ void r500_emit_draw_arrays(struct r300_context *r300,
                            unsigned count);
 
 void r500_emit_draw_elements(struct r300_context *r300,
-                             struct pipe_buffer* indexBuffer,
+                             struct pipe_resource* indexBuffer,
                              unsigned indexSize,
                              unsigned minIndex,
                              unsigned maxIndex,
@@ -53,7 +53,7 @@ void r300_emit_draw_arrays(struct r300_context *r300,
                            unsigned count);
 
 void r300_emit_draw_elements(struct r300_context *r300,
-                             struct pipe_buffer* indexBuffer,
+                             struct pipe_resource* indexBuffer,
                              unsigned indexSize,
                              unsigned minIndex,
                              unsigned maxIndex,
@@ -62,7 +62,7 @@ void r300_emit_draw_elements(struct r300_context *r300,
                              unsigned count);
 
 void r300_draw_range_elements(struct pipe_context* pipe,
-                              struct pipe_buffer* indexBuffer,
+                              struct pipe_resource* indexBuffer,
                               unsigned indexSize,
                               unsigned minIndex,
                               unsigned maxIndex,
@@ -71,7 +71,7 @@ void r300_draw_range_elements(struct pipe_context* pipe,
                               unsigned count);
 
 void r300_draw_elements(struct pipe_context* pipe,
-                        struct pipe_buffer* indexBuffer,
+                        struct pipe_resource* indexBuffer,
                         unsigned indexSize, unsigned mode,
                         unsigned start, unsigned count);
 
@@ -84,7 +84,7 @@ void r300_swtcl_draw_arrays(struct pipe_context* pipe,
                             unsigned count);
 
 void r300_swtcl_draw_range_elements(struct pipe_context* pipe,
-                                    struct pipe_buffer* indexBuffer,
+                                    struct pipe_resource* indexBuffer,
                                     unsigned indexSize,
                                     unsigned minIndex,
                                     unsigned maxIndex,