summaryrefslogtreecommitdiff
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-04-15 14:53:51 -0600
committerBrian Paul <brianp@vmware.com>2009-04-16 11:08:23 -0600
commit19ac3e2729abd85346f88fd69c6bc72938d26101 (patch)
tree2b431eaa054b53c36e224cf02858b05d8c0e0729 /src/mesa/drivers
parentf2cfbfa2baa15c4b56c6f22dbe37d75a3c07e549 (diff)
i965: handle address reg in get_dst()
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 5881a9d8d8..19ead73d8c 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -925,6 +925,10 @@ static struct brw_reg get_dst( struct brw_vs_compile *c,
assert(c->regs[dst.File][dst.Index].nr != 0);
reg = c->regs[dst.File][dst.Index];
break;
+ case PROGRAM_ADDRESS:
+ assert(dst.Index == 0);
+ reg = c->regs[dst.File][dst.Index];
+ break;
case PROGRAM_UNDEFINED:
/* we may hit this for OPCODE_END, OPCODE_KIL, etc */
reg = brw_null_reg();