projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a010307
)
i965g: skip over vertex position output when preallocating FS inputs
author
Keith Whitwell
<keithw@vmware.com>
Tue, 10 Nov 2009 02:04:58 +0000
(18:04 -0800)
committer
Keith Whitwell
<keithw@vmware.com>
Thu, 12 Nov 2009 02:51:57 +0000
(18:51 -0800)
src/gallium/drivers/i965/brw_wm_pass2.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_wm_pass2.c
b/src/gallium/drivers/i965/brw_wm_pass2.c
index a5574bd1a338174366444a72574447f16edfda7c..2a879863ab5bbb6e965bb2c347b9ad0bf33b8e6e 100644
(file)
--- a/
src/gallium/drivers/i965/brw_wm_pass2.c
+++ b/
src/gallium/drivers/i965/brw_wm_pass2.c
@@
-83,6
+83,10
@@
static void init_registers( struct brw_wm_compile *c )
for (j = 0; j < c->nr_creg; j++)
prealloc_reg(c, &c->creg[j], reg++);
+ reg++; /* XXX: skip over position output */
+
+ /* XXX: currently just hope the VS outputs line up with FS inputs:
+ */
for (j = 0; j < c->key.vp_nr_outputs; j++)
prealloc_reg(c, &c->payload.input_interp[j], reg++);