summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_clamp_color_outputs.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2016-05-24 12:24:56 -0700
committerMatt Turner <mattst88@gmail.com>2016-05-25 12:44:34 -0700
commit4a5e92ac705e1dcc4abf53f67300217e95e755da (patch)
tree2cd487a32384680914467bbb198ca7b166bb7244 /src/compiler/nir/nir_lower_clamp_color_outputs.c
parent44809f237172b7061223de6915137526c90ef55b (diff)
downloadexternal_mesa3d-4a5e92ac705e1dcc4abf53f67300217e95e755da.zip
external_mesa3d-4a5e92ac705e1dcc4abf53f67300217e95e755da.tar.gz
external_mesa3d-4a5e92ac705e1dcc4abf53f67300217e95e755da.tar.bz2
nir: Strengthen assertion that 'out' is nonnull.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'src/compiler/nir/nir_lower_clamp_color_outputs.c')
-rw-r--r--src/compiler/nir/nir_lower_clamp_color_outputs.c2
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 68bfbed..ab211a4 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;