From: Ian Romanick <ian.d.roman...@intel.com> brw_blorp.c: In function ‘brw_blorp_clear_depth_stencil’: brw_blorp.c:913:53: warning: unused parameter ‘partial_clear’ [-Wunused-parameter] GLbitfield mask, bool partial_clear) ^~~~~~~~~~~~~
Signed-off-by: Ian Romanick <ian.d.roman...@intel.com> --- src/mesa/drivers/dri/i965/brw_blorp.c | 2 +- src/mesa/drivers/dri/i965/brw_blorp.h | 2 +- src/mesa/drivers/dri/i965/brw_clear.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c index 87c9dd4..5e2fb01 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.c +++ b/src/mesa/drivers/dri/i965/brw_blorp.c @@ -917,7 +917,7 @@ brw_blorp_clear_color(struct brw_context *brw, struct gl_framebuffer *fb, void brw_blorp_clear_depth_stencil(struct brw_context *brw, struct gl_framebuffer *fb, - GLbitfield mask, bool partial_clear) + GLbitfield mask) { const struct gl_context *ctx = &brw->ctx; struct gl_renderbuffer *depth_rb = diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index 29d5788..f03413d 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -65,7 +65,7 @@ brw_blorp_clear_color(struct brw_context *brw, struct gl_framebuffer *fb, void brw_blorp_clear_depth_stencil(struct brw_context *brw, struct gl_framebuffer *fb, - GLbitfield mask, bool partial_clear); + GLbitfield mask); void brw_blorp_resolve_color(struct brw_context *brw, diff --git a/src/mesa/drivers/dri/i965/brw_clear.c b/src/mesa/drivers/dri/i965/brw_clear.c index 1e434c9..ce67e3f 100644 --- a/src/mesa/drivers/dri/i965/brw_clear.c +++ b/src/mesa/drivers/dri/i965/brw_clear.c @@ -235,7 +235,7 @@ brw_clear(struct gl_context *ctx, GLbitfield mask) } if (brw->gen >= 6 && (mask & BUFFER_BITS_DEPTH_STENCIL)) { - brw_blorp_clear_depth_stencil(brw, fb, mask, partial_clear); + brw_blorp_clear_depth_stencil(brw, fb, mask); debug_mask("blorp depth/stencil", mask & BUFFER_BITS_DEPTH_STENCIL); mask &= ~BUFFER_BITS_DEPTH_STENCIL; } -- 2.9.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev