From: Matt Turner Date: Tue, 24 May 2016 19:24:56 +0000 (-0700) Subject: nir: Strengthen assertion that 'out' is nonnull. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a5e92ac705e1dcc4abf53f67300217e95e755da;p=mesa.git nir: Strengthen assertion that 'out' is nonnull. Reviewed-by: Anuj Phogat Reviewed-by: Eric Engestrom --- 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;