<div dir="ltr"><div>Oops... My bad.</div><div><br></div><div>Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018 at 12:42 PM Rafael Antognolli <<a href="mailto:rafael.antognolli@intel.com">rafael.antognolli@intel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ISL_AUX_USAGE_NONE happens to be the same as "false", but let's do the<br>
right thing and use the enum.<br>
---<br>
 src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 5 +++--<br>
 1 file changed, 3 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h<br>
index 708757c47b8..b0333655ad5 100644<br>
--- a/src/mesa/drivers/dri/i965/intel_mipmap_tree.h<br>
+++ b/src/mesa/drivers/dri/i965/intel_mipmap_tree.h<br>
@@ -613,9 +613,10 @@ intel_miptree_access_raw(struct brw_context *brw,<br>
                          uint32_t level, uint32_t layer,<br>
                          bool write)<br>
 {<br>
-   intel_miptree_prepare_access(brw, mt, level, 1, layer, 1, false, false);<br>
+   intel_miptree_prepare_access(brw, mt, level, 1, layer, 1,<br>
+                                ISL_AUX_USAGE_NONE, false);<br>
    if (write)<br>
-      intel_miptree_finish_write(brw, mt, level, layer, 1, false);<br>
+      intel_miptree_finish_write(brw, mt, level, layer, 1, ISL_AUX_USAGE_NONE);<br>
 }<br>
<br>
 enum isl_aux_usage<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">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/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>