[Mesa-dev] [PATCH 4/6] nir: Strengthen assertion that 'out' is nonnull.
Matt Turner
mattst88 at gmail.com
Tue May 24 20:23:08 UTC 2016
---
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 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;
--
2.7.3
More information about the mesa-dev
mailing list