mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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 <chrisf@ijw.co.nz> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
4656c14e57
commit
81041c4a4a
1 changed files with 1 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue