Mesa (main): i915: Drop assertion failure about seeing each const decled once.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jun 18 05:01:19 UTC 2021
Module: Mesa
Branch: main
Commit: 942f62a9b28f9afc32185506b0a9bbf770287f84
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=942f62a9b28f9afc32185506b0a9bbf770287f84
Author: Emma Anholt <emma at anholt.net>
Date: Mon Jun 7 11:32:08 2021 -0700
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 at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11329>
---
src/gallium/drivers/i915/i915_fpc_translate.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/gallium/drivers/i915/i915_fpc_translate.c b/src/gallium/drivers/i915/i915_fpc_translate.c
index f51dfc4a2d7..bc9696d9984 100644
--- a/src/gallium/drivers/i915/i915_fpc_translate.c
+++ b/src/gallium/drivers/i915/i915_fpc_translate.c
@@ -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);
}
More information about the mesa-commit
mailing list