i965/vs: Return a dummy value when visiting ir_texture.

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.
This commit is contained in:
Eric Anholt 2011-09-08 16:09:31 -07:00
parent d158f6e73b
commit d4444b8e5b

View file

@ -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