nir: Remove always-true assert
authorKristian H. Kristensen <hoegsberg@google.com>
Mon, 3 Feb 2020 20:52:19 +0000 (12:52 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 4 Feb 2020 06:03:52 +0000 (06:03 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>

src/compiler/nir/nir_serialize.c

index 990f778ef51c4f71ffd3e3636ac33d46ef1f1859..7b6ed5e31a11b3a468ba7ad50d51284efda982c1 100644 (file)
@@ -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;