From 4a5e92ac705e1dcc4abf53f67300217e95e755da Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 24 May 2016 12:24:56 -0700 Subject: [PATCH] nir: Strengthen assertion that 'out' is nonnull. Reviewed-by: Anuj Phogat Reviewed-by: Eric Engestrom --- src/compiler/nir/nir_lower_clamp_color_outputs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/nir/nir_lower_clamp_color_outputs.c b/src/compiler/nir/nir_lower_clamp_color_outputs.c index 68bfbed81aa..ab211a4296c 100644 --- a/src/compiler/nir/nir_lower_clamp_color_outputs.c +++ b/src/compiler/nir/nir_lower_clamp_color_outputs.c @@ -79,7 +79,7 @@ lower_intrinsic(lower_state *state, nir_intrinsic_instr *intr) break; } } - assert(out); + assume(out); break; default: return; -- 2.30.2