aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2020-02-03 12:52:19 -0800
committerMarge Bot <[email protected]>2020-02-04 06:03:52 +0000
commit6dd57f0e3811d61c9d6179452a420f28008ca9ba (patch)
treeaa0e0ce4c9e767f0bb333c9ba7ad1737fb55e8bf /src/compiler/nir
parente3dfa8f4d694e7d64a6401752af1f973b0852aab (diff)
nir: Remove always-true assert
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3686>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r--src/compiler/nir/nir_serialize.c1
1 files changed, 0 insertions, 1 deletions
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;