r300: set proper CS section size
authorMaciej Cencora <m.cencora@gmail.com>
Mon, 24 Aug 2009 23:26:28 +0000 (01:26 +0200)
committerMaciej Cencora <m.cencora@gmail.com>
Mon, 24 Aug 2009 23:30:24 +0000 (01:30 +0200)
src/mesa/drivers/dri/r300/r300_context.c

index c4b5afa23e1829b1879644cdd9a5b51cf6f2493d..d457ac1d6c729fdf0860261bc92fdf2a950a6e19 100644 (file)
@@ -295,7 +295,7 @@ static void rv530_emit_query_finish_double_z(radeonContextPtr radeon)
        BATCH_LOCALS(radeon);
        struct radeon_query_object *query = radeon->query.current;
 
-       BEGIN_BATCH_NO_AUTOSTATE(6);
+       BEGIN_BATCH_NO_AUTOSTATE(14);
        OUT_BATCH_REGVAL(RV530_FG_ZBREG_DEST, RV530_FG_ZBREG_DEST_PIPE_SELECT_0);
        OUT_BATCH_REGSEQ(R300_ZB_ZPASS_ADDR, 1);
        OUT_BATCH_RELOC(0, query->bo, query->curr_offset, 0, RADEON_GEM_DOMAIN_GTT, 0);