From 81041c4a4a170e6bb332013085117d3fc67d517b Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 11 Oct 2014 18:19:17 +1300 Subject: 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 --- src/mesa/drivers/common/meta_blit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/drivers/common') 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. */ -- cgit v1.2.3