summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <[email protected]>2009-02-23 03:16:46 -0800
committerCorbin Simpson <[email protected]>2009-02-23 04:37:58 -0800
commitd7370102960689f5092df05d5097ecae8d0096d4 (patch)
treef1d37c8ecc872adf41a973d9da001fbf603bd5bf /src
parentc7bbc9ad126b2b120407146c5aa9894f4487752e (diff)
r300-gallium: Fix BEGIN_CS size.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c2
1 files changed, 1 insertions, 1 deletions
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);