<div dir="auto">I am waiting to have time to do proper testing on the patch like I promised. Thus far, the time to do so has failed to materialize.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mar 14, 2017 8:27 AM, "Emil Velikov" <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ilia, are you waiting for another person to review the patch or it's<br>
no longer applicable ?<br>
<br>
Thanks<br>
Emil<br>
<br>
On 10 March 2017 at 11:07, Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>> wrote:<br>
> Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>><br>
><br>
> Marek<br>
><br>
> On Sat, Mar 4, 2017 at 7:52 PM, Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>> wrote:<br>
>> This prevents textureQueryLevels, which maps as LODQ, from ending up<br>
>> with a xyzw writemask, which is illegal.<br>
>><br>
>> Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=100061" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=100061</a><br>
>> Signed-off-by: Ilia Mirkin <<a href="mailto:imirkin@alum.mit.edu">imirkin@alum.mit.edu</a>><br>
>> Cc: <a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.<wbr>org</a><br>
>> ---<br>
>><br>
>> Untested beyond making sure that the shader in the above bug ends up with<br>
>> a .xy writemask. I don't have access to a reasonable testing rig right now,<br>
>> would be ideal if someone could give it a run through theirs...<br>
>><br>
>> src/mesa/state_tracker/st_<wbr>glsl_to_tgsi.cpp | 1 +<br>
>> 1 file changed, 1 insertion(+)<br>
>><br>
>> diff --git a/src/mesa/state_tracker/st_<wbr>glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_<wbr>glsl_to_tgsi.cpp<br>
>> index af41bdb..63b681f 100644<br>
>> --- a/src/mesa/state_tracker/st_<wbr>glsl_to_tgsi.cpp<br>
>> +++ b/src/mesa/state_tracker/st_<wbr>glsl_to_tgsi.cpp<br>
>> @@ -4165,6 +4165,7 @@ glsl_to_tgsi_visitor::visit(<wbr>ir_texture *ir)<br>
>> */<br>
>> result_src = get_temp(ir->type);<br>
>> result_dst = st_dst_reg(result_src);<br>
>> + result_dst.writemask = (1 << ir->type->vector_elements) - 1;<br>
>><br>
>> switch (ir->op) {<br>
>> case ir_tex:<br>
>> --<br>
>> 2.10.2<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> mesa-stable mailing list<br>
>> <a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.<wbr>org</a><br>
>> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-stable" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-stable</a><br>
> ______________________________<wbr>_________________<br>
> mesa-stable mailing list<br>
> <a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.<wbr>org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-stable" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-stable</a><br>
</blockquote></div></div>