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:
parent
7378c64792
commit
942f62a9b2
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue