From: Kristian H. Kristensen Date: Mon, 3 Feb 2020 20:52:19 +0000 (-0800) Subject: nir: Remove always-true assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dd57f0e3811d61c9d6179452a420f28008ca9ba;p=mesa.git nir: Remove always-true assert Part-of: --- diff --git a/src/compiler/nir/nir_serialize.c b/src/compiler/nir/nir_serialize.c index 990f778ef51..7b6ed5e31a1 100644 --- a/src/compiler/nir/nir_serialize.c +++ b/src/compiler/nir/nir_serialize.c @@ -231,7 +231,6 @@ write_variable(write_ctx *ctx, const nir_variable *var) write_add_object(ctx, var); assert(var->num_state_slots < (1 << 7)); - assert(var->num_members < (1 << 16)); STATIC_ASSERT(sizeof(union packed_var) == 4); union packed_var flags;