From: Corbin Simpson Date: Mon, 23 Feb 2009 11:16:46 +0000 (-0800) Subject: r300-gallium: Fix BEGIN_CS size. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7370102960689f5092df05d5097ecae8d0096d4;p=mesa.git r300-gallium: Fix BEGIN_CS size. --- diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index 0c86a9c92de..d57ccffcb05 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -84,7 +84,7 @@ void r300_emit_fragment_shader(struct r300_context* r300, { CS_LOCALS(r300); int i; - BEGIN_CS(0); + BEGIN_CS(22); OUT_CS_REG(R300_US_CONFIG, MAX2(fs->indirections - 1, 0)); OUT_CS_REG(R300_US_PIXSIZE, fs->shader.stack_size);