[Bug 75224] GLSL: vectorize optimization goes wrong on dot products
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 19 11:13:56 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75224
--- Comment #2 from Aras Pranckevicius <aras at unity3d.com> ---
Locally I could fix this with:
/* Upon entering an ir_binop_dot, remove the current assignment from
* further consideration. Dot product is "horizontal" instruction
* that we can't vectorize.
*/
ir_visitor_status
ir_vectorize_visitor::visit_enter(ir_expression *ir)
{
if (ir->operation == ir_binop_dot) {
this->current_assignment = NULL;
return visit_continue_with_parent;
}
return visit_continue;
}
But not sure if that's the correct approach.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20140219/4e546d92/attachment.html>
More information about the intel-3d-bugs
mailing list