Mesa (main): pan/bi: Stub 64-bit in count_write_registers
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 29 23:53:26 UTC 2021
Module: Mesa
Branch: main
Commit: 7d60a8881d7d37812d532db5b5a91fcc8d3eb9aa
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7d60a8881d7d37812d532db5b5a91fcc8d3eb9aa
Author: Alyssa Rosenzweig <alyssa at collabora.com>
Date: Wed Jul 28 19:48:28 2021 -0400
pan/bi: Stub 64-bit in count_write_registers
When Valhall lands, we'll need to be more methodical about this. In the
mean time, this gets validation passing on
KHR-GLES31.core.compute_shader.atomic-case3 which was crashing in RA and
now again passes.
Signed-off-by: Alyssa Rosenzweig <alyssa at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12130>
---
src/panfrost/bifrost/bir.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/panfrost/bifrost/bir.c b/src/panfrost/bifrost/bir.c
index 6433726c80b..06983363ae0 100644
--- a/src/panfrost/bifrost/bir.c
+++ b/src/panfrost/bifrost/bir.c
@@ -105,6 +105,8 @@ bi_count_write_registers(const bi_instr *ins, unsigned d)
return 4;
else
return bi_count_staging_registers(ins);
+ } else if (ins->op == BI_OPCODE_SEG_ADD_I64) {
+ return 2;
}
return 1;
More information about the mesa-commit
mailing list