Mesa (master): r300: set proper CS section size

Maciej Cencora osiris at kemper.freedesktop.org
Mon Aug 24 23:32:20 UTC 2009


Module: Mesa
Branch: master
Commit: ff235c8ccbca77c6591aa327f1e0530584a1629e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ff235c8ccbca77c6591aa327f1e0530584a1629e

Author: Maciej Cencora <m.cencora at gmail.com>
Date:   Tue Aug 25 01:26:28 2009 +0200

r300: set proper CS section size

---

 src/mesa/drivers/dri/r300/r300_context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c
index c4b5afa..d457ac1 100644
--- a/src/mesa/drivers/dri/r300/r300_context.c
+++ b/src/mesa/drivers/dri/r300/r300_context.c
@@ -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);




More information about the mesa-commit mailing list