diff options
author | Corbin Simpson <[email protected]> | 2009-03-25 07:15:07 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-03-25 07:15:49 -0700 |
commit | def5660c9eed84f92838f9f7679deef94ab27c58 (patch) | |
tree | e477f964ef86f1fa01ffae1552aa70e0f59c875f /src/gallium/drivers/r300/r300_emit.c | |
parent | 1db736f74a911f74228d6843f4d981eeafb8669d (diff) |
r300-gallium: r300-fs: Moar.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index bf190a7dcdc..16455e48ce8 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -90,12 +90,12 @@ void r300_emit_fragment_shader(struct r300_context* r300, 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); + OUT_CS_REG(R300_US_CODE_OFFSET, 0x40); /* XXX figure these ones out a bit better kthnx */ OUT_CS_REG(R300_US_CODE_ADDR_0, 0x0); OUT_CS_REG(R300_US_CODE_ADDR_1, 0x0); OUT_CS_REG(R300_US_CODE_ADDR_2, 0x0); - OUT_CS_REG(R300_US_CODE_ADDR_3, R300_RGBA_OUT); + OUT_CS_REG(R300_US_CODE_ADDR_3, 0x40 | R300_RGBA_OUT); for (i = 0; i < fs->alu_instruction_count; i++) { OUT_CS_REG(R300_US_ALU_RGB_INST_0 + (4 * i), |