<div dir="ltr">Looks good.  Reviewed-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 23, 2016 at 6:33 PM, Charmaine Lee <span dir="ltr"><<a href="mailto:charmainel@vmware.com" target="_blank">charmainel@vmware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This patch deletes those fragment shaders in util_blitter_destroy().<br>
---<br>
 src/gallium/auxiliary/util/u_<wbr>blitter.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/src/gallium/auxiliary/util/<wbr>u_blitter.c b/src/gallium/auxiliary/util/<wbr>u_blitter.c<br>
index 98b5421..45dc033 100644<br>
--- a/src/gallium/auxiliary/util/<wbr>u_blitter.c<br>
+++ b/src/gallium/auxiliary/util/<wbr>u_blitter.c<br>
@@ -453,7 +453,7 @@ void util_blitter_destroy(struct blitter_context *blitter)<br>
    }<br>
<br>
    for (i = 0; i < PIPE_MAX_TEXTURE_TYPES; i++) {<br>
-      for (unsigned type = 0; type < 3; ++type) {<br>
+      for (unsigned type = 0; type < ARRAY_SIZE(ctx->fs_texfetch_<wbr>col); ++type) {<br>
          if (ctx->fs_texfetch_col[type][i]<wbr>)<br>
             ctx->delete_fs_state(pipe, ctx->fs_texfetch_col[type][i])<wbr>;<br>
          if (ctx->fs_texfetch_col_msaa[<wbr>type][i])<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.9.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>