summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2016-05-24 12:24:56 -0700
committerMatt Turner <[email protected]>2016-05-25 12:44:34 -0700
commit4a5e92ac705e1dcc4abf53f67300217e95e755da (patch)
tree2cd487a32384680914467bbb198ca7b166bb7244 /src/compiler
parent44809f237172b7061223de6915137526c90ef55b (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')
-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 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;