projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2cfbfa
)
i965: handle address reg in get_dst()
author
Brian Paul
<brianp@vmware.com>
Wed, 15 Apr 2009 20:53:51 +0000
(14:53 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 16 Apr 2009 17:08:23 +0000
(11:08 -0600)
src/mesa/drivers/dri/i965/brw_vs_emit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vs_emit.c
b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index 5881a9d8d8357035f26dd13ea05f089784ea2644..19ead73d8ca537066189c2cb2e535ab3e29cafa5 100644
(file)
--- 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();