From: Maciej Cencora Date: Mon, 24 Aug 2009 23:26:28 +0000 (+0200) Subject: r300: set proper CS section size X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff235c8ccbca77c6591aa327f1e0530584a1629e;p=mesa.git r300: set proper CS section size --- diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c index c4b5afa23e1..d457ac1d6c7 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);