diff options
author | Corbin Simpson <[email protected]> | 2009-03-25 06:24:39 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-03-25 07:15:49 -0700 |
commit | 1db736f74a911f74228d6843f4d981eeafb8669d (patch) | |
tree | 1afaa9c6a34610b348a07ec5cb6837f769f35b25 /src/gallium/drivers/r300/r300_emit.c | |
parent | e36f01a7a195a747c7d40bc0bab0bfbd00f0a5a7 (diff) |
r300-gallium: Unify shader interfaces, enable r300 shader, start unbreaking.
progs/trivial/clear no longer is horrifically wrong, just kind of wrong.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 2 |
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 9bfb89626cd..bf190a7dcdc 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -87,7 +87,7 @@ void r300_emit_fragment_shader(struct r300_context* r300, BEGIN_CS(22); - OUT_CS_REG(R300_US_CONFIG, MAX2(fs->indirections - 1, 0)); + OUT_CS_REG(R300_US_CONFIG, fs->indirections); OUT_CS_REG(R300_US_PIXSIZE, fs->shader.stack_size); /* XXX figure out exactly how big the sizes are on this reg */ OUT_CS_REG(R300_US_CODE_OFFSET, 0x0); |