Summary: | GLSL: opt_vectorize goes wrong on texture lookups | ||
---|---|---|---|
Product: | Mesa | Reporter: | Aras Pranckevicius <aras> |
Component: | glsl-compiler | Assignee: | Matt Turner <mattst88> |
Status: | RESOLVED FIXED | QA Contact: | Intel 3D Bugs Mailing List <intel-3d-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | idr |
Version: | git | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Aras Pranckevicius
2014-08-13 17:38:18 UTC
(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? |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.