<div dir="ltr">Reviewed-by: Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 16, 2017 at 2:01 PM, Ian Romanick <span dir="ltr"><<a href="mailto:idr@freedesktop.org" target="_blank">idr@freedesktop.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
<br>
drivers/common/meta_blit.c: In function ‘setup_glsl_msaa_blit_scaled_<wbr>shader’:<br>
drivers/common/meta_blit.c:62:<wbr>58: warning: unused parameter ‘filter’ [-Wunused-parameter]<br>
                                    GLenum target, GLenum filter)<br>
                                                          ^~~~~~<br>
<br>
Signed-off-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>><br>
---<br>
 src/mesa/drivers/common/meta_<wbr>blit.c | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/mesa/drivers/common/<wbr>meta_blit.c b/src/mesa/drivers/common/<wbr>meta_blit.c<br>
index e8719a3..7adad46 100644<br>
--- a/src/mesa/drivers/common/<wbr>meta_blit.c<br>
+++ b/src/mesa/drivers/common/<wbr>meta_blit.c<br>
@@ -59,7 +59,7 @@ static void<br>
 setup_glsl_msaa_blit_scaled_<wbr>shader(struct gl_context *ctx,<br>
                                    struct blit_state *blit,<br>
                                    struct gl_renderbuffer *src_rb,<br>
-                                   GLenum target, GLenum filter)<br>
+                                   GLenum target)<br>
 {<br>
    GLint loc_src_width, loc_src_height;<br>
    int i, samples;<br>
@@ -581,7 +581,7 @@ setup_glsl_blit_framebuffer(<wbr>struct gl_context *ctx,<br>
                                    2, texcoord_size, 0);<br>
<br>
    if (is_target_multisample && is_filter_scaled_resolve && is_scaled_blit) {<br>
-      setup_glsl_msaa_blit_scaled_<wbr>shader(ctx, blit, src_rb, target, filter);<br>
+      setup_glsl_msaa_blit_scaled_<wbr>shader(ctx, blit, src_rb, target);<br>
    } else if (is_target_multisample) {<br>
       setup_glsl_msaa_blit_shader(<wbr>ctx, blit, drawFb, src_rb, target);<br>
    } else {<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.9.4<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>