From: Chris Forbes Date: Sat, 11 Oct 2014 05:19:17 +0000 (+1300) Subject: meta/msaa-blit: consider weird sample count case unreachable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81041c4a4a170e6bb332013085117d3fc67d517b;p=mesa.git meta/msaa-blit: consider weird sample count case unreachable Suppresses a bunch of warning noise about sample_map possibly being used uninitialized. Signed-off-by: Chris Forbes Reviewed-by: Anuj Phogat --- diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers/common/meta_blit.c index c6616d93d3c..01cb532fef4 100644 --- a/src/mesa/drivers/common/meta_blit.c +++ b/src/mesa/drivers/common/meta_blit.c @@ -134,6 +134,7 @@ setup_glsl_msaa_blit_scaled_shader(struct gl_context *ctx, break; default: _mesa_problem(ctx, "Unsupported sample count %d\n", samples); + unreachable("Unsupported sample count"); } /* Create sample map string. */