diff options
author | Matt Turner <[email protected]> | 2016-05-24 12:24:56 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2016-05-25 12:44:34 -0700 |
commit | 4a5e92ac705e1dcc4abf53f67300217e95e755da (patch) | |
tree | 2cd487a32384680914467bbb198ca7b166bb7244 /src/compiler/nir | |
parent | 44809f237172b7061223de6915137526c90ef55b (diff) |
nir: Strengthen assertion that 'out' is nonnull.
Reviewed-by: Anuj Phogat <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/nir_lower_clamp_color_outputs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |