[Bug 82574] GLSL: opt_vectorize goes wrong on texture lookups

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 13 13:57:54 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82574

--- Comment #1 from Matt Turner <mattst88 at gmail.com> ---
(In reply to comment #0)
> I can make this bug go away by stopping vectorizing on texture samples, i.e.
> adding something like this to opt_vectorize.cpp:
> 
> 
> /**
>  * Upon entering an ir_texture, remove the current assignment from
>  * further consideration. Vectorizing multiple texture lookups into one
>  * is wrong.
>  */
> ir_visitor_status
> ir_vectorize_visitor::visit_enter(ir_texture *)
> {
>    this->current_assignment = NULL;
>    return visit_continue_with_parent;
> }

Cool. Can you send that as a patch to mesa-dev?

-- 
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/20140813/a9f39b25/attachment.html>


More information about the intel-3d-bugs mailing list