<div dir="ltr"><span class="gmail-m_5281650537961969643gmail-m_-1170325871933010518gmail-il" style="font-size:12.8px">Tested</span><span style="font-size:12.8px">-</span><span class="gmail-m_5281650537961969643gmail-m_-1170325871933010518gmail-il" style="font-size:12.8px">by</span><span style="font-size:12.8px">: Vadym Shovkoplias <<a href="mailto:vadym.shovkoplias@globallogic.com" target="_blank">vadym.shovkoplias@globallogic<wbr>.com</a></span><span style="font-size:12.8px">></span><br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-16 15:31 GMT+02:00 Topi Pohjolainen <span dir="ltr"><<a href="mailto:topi.pohjolainen@gmail.com" target="_blank">topi.pohjolainen@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=104546" rel="noreferrer" target="_blank">https://bugs.freedesktop.org/<wbr>show_bug.cgi?id=104546</a><br>
CC: <a href="mailto:xinghua.cao@intel.com">xinghua.cao@intel.com</a><br>
Signed-off-by: Topi Pohjolainen <<a href="mailto:topi.pohjolainen@intel.com">topi.pohjolainen@intel.com</a>><br>
---<br>
 src/mesa/drivers/dri/i965/brw_<wbr>draw.c | 6 ++++--<br>
 1 file changed, 4 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/<wbr>brw_draw.c b/src/mesa/drivers/dri/i965/<wbr>brw_draw.c<br>
index 7e29dcfd4e8..626cd3fdb70 100644<br>
--- a/src/mesa/drivers/dri/i965/<wbr>brw_draw.c<br>
+++ b/src/mesa/drivers/dri/i965/<wbr>brw_draw.c<br>
@@ -441,8 +441,10 @@ brw_predraw_resolve_inputs(<wbr>struct brw_context *brw, bool rendering)<br>
             tex_obj = intel_texture_object(u-><wbr>TexObj);<br>
<br>
             if (tex_obj && tex_obj->mt) {<br>
-               intel_disable_rb_aux_buffer(<wbr>brw, tex_obj->mt, 0, ~0,<br>
-                                           "as a shader image");<br>
+               if (rendering) {<br>
+                  intel_disable_rb_aux_buffer(<wbr>brw, tex_obj->mt, 0, ~0,<br>
+                                              "as a shader image");<br>
+               }<br>
<br>
                intel_miptree_prepare_image(<wbr>brw, tex_obj->mt);<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
2.14.1<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div>