i915: Drop assertion failure about seeing each const decled once.

nir_to_tgsi sometimes emits multiple decls currently, but we don't
actually care because we're just checking which ones are live.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11329>
This commit is contained in:
Emma Anholt 2021-06-07 11:32:08 -07:00 committed by Marge Bot
parent 7378c64792
commit 942f62a9b2
1 changed files with 0 additions and 1 deletions

View File

@ -976,7 +976,6 @@ static void i915_translate_token(struct i915_fp_compile *p,
for (i = token->FullDeclaration.Range.First;
i <= MIN2(token->FullDeclaration.Range.Last, I915_MAX_CONSTANT - 1);
i++) {
assert(ifs->constant_flags[i] == 0x0);
ifs->constant_flags[i] = I915_CONSTFLAG_USER;
ifs->num_constants = MAX2(ifs->num_constants, i + 1);
}