diff options
author | Ben Skeggs <[email protected]> | 2008-03-10 14:27:22 +1100 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-03-10 14:28:13 +1100 |
commit | ae0e047ba4e05d25d6e0b9b0574e36c7e8ccd510 (patch) | |
tree | 1a14f2ad5d804c385f2e33aea7dd2aeef5b0e88d /src/gallium/drivers/nv30/nv30_vertprog.c | |
parent | 66ba021e9fa2fa932cb9be8fc2fb8272baf51fc6 (diff) |
nv30: put the card into vtxprog mode + small cleanups/fixes
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_vertprog.c')
-rw-r--r-- | src/gallium/drivers/nv30/nv30_vertprog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv30/nv30_vertprog.c b/src/gallium/drivers/nv30/nv30_vertprog.c index 548b6907d02..96bc4b5ef9a 100644 --- a/src/gallium/drivers/nv30/nv30_vertprog.c +++ b/src/gallium/drivers/nv30/nv30_vertprog.c @@ -193,6 +193,11 @@ emit_dst(struct nv30_vpc *vpc, uint32_t *hw, int slot, struct nv30_sreg dst) hw[3] |= (dst.index << NV30_VP_INST_DEST_SHIFT); hw[0] |= NV30_VP_INST_VEC_DEST_TEMP_MASK | (1<<20); + + /*XXX: no way this is entirely correct, someone needs to + * figure out what exactly it is. + */ + hw[3] |= 0x800; break; default: assert(0); |