<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 21, 2017 at 1:13 PM, Pohjolainen, Topi <span dir="ltr"><<a href="mailto:topi.pohjolainen@gmail.com" target="_blank">topi.pohjolainen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Jul 19, 2017 at 02:01:47PM -0700, Jason Ekstrand wrote:<br>
> ---<br>
> src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c | 11 ++++++-----<br>
> 1 file changed, 6 insertions(+), 5 deletions(-)<br>
><br>
> diff --git a/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c b/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
> index 91fcd0b..68e0246 100644<br>
> --- a/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
> +++ b/src/mesa/drivers/dri/i965/<wbr>intel_mipmap_tree.c<br>
> @@ -2172,7 +2172,7 @@ get_ccs_d_resolve_op(enum isl_aux_state aux_state,<br>
><br>
> switch (aux_state) {<br>
> case ISL_AUX_STATE_CLEAR:<br>
> - case ISL_AUX_STATE_COMPRESSED_<wbr>CLEAR:<br>
> + case ISL_AUX_STATE_PARTIAL_CLEAR:<br>
> if (!ccs_supported)<br>
> return BLORP_FAST_CLEAR_OP_RESOLVE_<wbr>FULL;<br>
> else<br>
> @@ -2181,9 +2181,9 @@ get_ccs_d_resolve_op(enum isl_aux_state aux_state,<br>
> case ISL_AUX_STATE_PASS_THROUGH:<br>
> return BLORP_FAST_CLEAR_OP_NONE;<br>
><br>
> - case ISL_AUX_STATE_PARTIAL_CLEAR:<br>
> case ISL_AUX_STATE_RESOLVED:<br>
> case ISL_AUX_STATE_AUX_INVALID:<br>
> + case ISL_AUX_STATE_COMPRESSED_<wbr>CLEAR:<br>
> case ISL_AUX_STATE_COMPRESSED_NO_<wbr>CLEAR:<br>
> break;<br>
> }<br>
> @@ -2313,10 +2313,10 @@ intel_miptree_finish_ccs_<wbr>write(struct brw_context *brw,<br>
> case ISL_AUX_STATE_CLEAR:<br>
> assert(written_with_ccs);<br>
> intel_miptree_set_aux_state(<wbr>brw, mt, level, layer, 1,<br>
> - ISL_AUX_STATE_COMPRESSED_<wbr>CLEAR);<br>
> + ISL_AUX_STATE_PARTIAL_CLEAR);<br>
> break;<br>
><br>
> - case ISL_AUX_STATE_COMPRESSED_<wbr>CLEAR:<br>
> + case ISL_AUX_STATE_PARTIAL_CLEAR:<br>
> assert(written_with_ccs);<br>
> break; /* Nothing to do */<br>
><br>
> @@ -2324,7 +2324,7 @@ intel_miptree_finish_ccs_<wbr>write(struct brw_context *brw,<br>
> /* Nothing to do */<br>
> break;<br>
><br>
> - case ISL_AUX_STATE_PARTIAL_CLEAR:<br>
> + case ISL_AUX_STATE_COMPRESSED_<wbr>CLEAR:<br>
> case ISL_AUX_STATE_COMPRESSED_NO_<wbr>CLEAR:<br>
> case ISL_AUX_STATE_RESOLVED:<br>
> case ISL_AUX_STATE_AUX_INVALID:<br>
> @@ -2384,6 +2384,7 @@ intel_miptree_finish_mcs_<wbr>write(struct brw_context *brw,<br>
> case ISL_AUX_STATE_RESOLVED:<br>
> case ISL_AUX_STATE_PASS_THROUGH:<br>
> case ISL_AUX_STATE_AUX_INVALID:<br>
> + case ISL_AUX_STATE_PARTIAL_CLEAR:<br>
<br>
</div></div>Doesn't this belong to the previous patch?<span class=""><br></span></blockquote><div><br></div><div>Sure. I'll move it.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> unreachable("Invalid aux state for MCS");<br>
> }<br>
> }<br>
> --<br>
> 2.5.0.400.gff86faf<br>
><br>
</span>> ______________________________<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>
</blockquote></div><br></div></div>