r300g: remove buffer add that should be unnecessary.
authorDave Airlie <airlied@redhat.com>
Wed, 14 Oct 2009 08:24:34 +0000 (18:24 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 14 Oct 2009 08:24:34 +0000 (18:24 +1000)
This should be handled in the emit fine

src/gallium/drivers/r300/r300_emit.c

index 6e616cd5b2c2b466db3bd0f528d21c3a1569ecf0..feffadd0ee80ff07d2a19dbf9029030bc905a417 100644 (file)
@@ -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);