<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - GLSL: opt_vectorize goes wrong on texture lookups"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82574#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - GLSL: opt_vectorize goes wrong on texture lookups"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82574">bug 82574</a>
from <span class="vcard"><a class="email" href="mailto:mattst88@gmail.com" title="Matt Turner <mattst88@gmail.com>"> <span class="fn">Matt Turner</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=82574#c0">comment #0</a>)
<span class="quote">> 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;
> }</span >
Cool. Can you send that as a patch to mesa-dev?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>