summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-10-14 18:24:34 +1000
committerDave Airlie <[email protected]>2009-10-14 18:24:34 +1000
commit88b697fb0aaaab8479716763510f56b1053ddb37 (patch)
treeec78f234c96d41213340c5ef6306bc7b36dd261d /src/gallium
parentfa581580b18d530b849299c38604ab0804290e49 (diff)
r300g: remove buffer add that should be unnecessary.
This should be handled in the emit fine
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 6e616cd5b2c..feffadd0ee8 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -441,12 +441,6 @@ void r300_emit_query_end(struct r300_context* r300)
if (query->begin_emitted == FALSE)
return;
- if (!r300->winsys->add_buffer(r300->winsys, r300->oqbo,
- 0, RADEON_GEM_DOMAIN_GTT)) {
- debug_printf("r300: There wasn't room for the OQ buffer!?"
- " Oh noes!\n");
- }
-
if (caps->family == CHIP_FAMILY_RV530) {
if (caps->num_z_pipes == 2)
rv530_emit_query_double(r300, query);