projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
354c40a
)
i965: Also increment attribute location when skipping unused slots.
author
Eric Anholt
<eric@anholt.net>
Fri, 1 Oct 2010 18:44:27 +0000
(11:44 -0700)
committer
Eric Anholt
<eric@anholt.net>
Fri, 1 Oct 2010 19:19:21 +0000
(12:19 -0700)
Fixes glsl1-texcoord varying.
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 1968e7fde0e759d89033f41112986e30e0a79181..95671412296f18cca7668c8cfb28a50d6db0760e 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-786,6
+786,7
@@
fs_visitor::emit_general_interpolation(ir_variable *ir)
* we'd fall over later trying to find the setup data.
*/
attr.reg_offset += type->vector_elements;
+ location++;
continue;
}