projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d158f6e
)
i965/vs: Return a dummy value when visiting ir_texture.
author
Eric Anholt
<eric@anholt.net>
Thu, 8 Sep 2011 23:09:31 +0000
(16:09 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 21 Sep 2011 16:46:39 +0000
(09:46 -0700)
While the program won't successfully link in the end, this avoids
possible assertion failure in the driver during linking if
this->result isn't initialized with something already.
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
b/src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
index 833349a12642e4fb4ca2c717dbbd6f248ba1a139..61c226a839513bb9e85d05ae6d6e233c5b350b57 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp
@@
-1675,6
+1675,7
@@
vec4_visitor::visit(ir_texture *ir)
* programs that do vertex texturing, but after our visitor has
* run.
*/
+ this->result = src_reg(this, glsl_type::vec4_type);
}
void