summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_emit.c
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_emit.c
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_emit.c')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 23bbc6a99c8..f3be274d76c 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -1152,8 +1152,6 @@ unsigned r300_get_num_dirty_dwords(struct r300_context *r300)
}
}
- /* emit_query_end is not atomized. */
- dwords += 26;
/* let's reserve some more, just in case */
dwords += 32;