mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 17:58:26 +02:00
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:
parent
d158f6e73b
commit
d4444b8e5b
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue