summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_render.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2010-05-07 21:46:09 +0200
committerMarek Olšák <[email protected]>2010-05-08 23:03:44 +0200
commitda180a8d34a3d17345d71b215a7d20f24fe4b078 (patch)
treef8dada26c3e995a62fd825aa0828ced16a31f125 /src/gallium/drivers/r300/r300_render.h
parente9fc5b463f994b3dc1ac8ad2d574e24025d9926e (diff)
r300g: consolidate common render code into one function
This reduces redundant code by moving: - CS space reservation - buffer validation - dirty state emission - index bias emission - AOS emission into r300_prepare_for_rendering.
Diffstat (limited to 'src/gallium/drivers/r300/r300_render.h')
-rw-r--r--src/gallium/drivers/r300/r300_render.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_render.h b/src/gallium/drivers/r300/r300_render.h
index 4e78914c1ba..71dea218be6 100644
--- a/src/gallium/drivers/r300/r300_render.h
+++ b/src/gallium/drivers/r300/r300_render.h
@@ -35,7 +35,6 @@ void r500_emit_draw_arrays(struct r300_context *r300,
void r500_emit_draw_elements(struct r300_context *r300,
struct pipe_resource* indexBuffer,
unsigned indexSize,
- int indexBias,
unsigned minIndex,
unsigned maxIndex,
unsigned mode,
@@ -54,7 +53,6 @@ void r300_emit_draw_arrays(struct r300_context *r300,
void r300_emit_draw_elements(struct r300_context *r300,
struct pipe_resource* indexBuffer,
unsigned indexSize,
- int indexBias,
unsigned minIndex,
unsigned maxIndex,
unsigned mode,