On Sat, Oct 11, 2014 at 3:28 PM, Chris Forbes <chr...@ijw.co.nz> wrote: > Suppresses a bunch of warning noise about sample_map possibly being used > uninitialized. > > Signed-off-by: Chris Forbes <chr...@ijw.co.nz> > --- > src/mesa/drivers/common/meta_blit.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/mesa/drivers/common/meta_blit.c > b/src/mesa/drivers/common/meta_blit.c > index c6616d9..01cb532 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. */ > -- > 2.1.2 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Reviewed-by: Anuj Phogat <anuj.pho...@gmail.com> _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev