From 817553c052138428d53cdc419dae8c4b9809410d Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Mon, 26 Jul 2021 12:05:38 +0200 Subject: [PATCH] aco: Implement call scope. Since we do no repacking yet, just use invocation. Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/compiler/aco_instruction_selection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_instruction_selection.cpp b/src/amd/compiler/aco_instruction_selection.cpp index 6cac3f7..f702b7d 100644 --- a/src/amd/compiler/aco_instruction_selection.cpp +++ b/src/amd/compiler/aco_instruction_selection.cpp @@ -7105,7 +7105,7 @@ translate_nir_scope(nir_scope scope) case NIR_SCOPE_WORKGROUP: return scope_workgroup; case NIR_SCOPE_QUEUE_FAMILY: return scope_queuefamily; case NIR_SCOPE_DEVICE: return scope_device; - case NIR_SCOPE_SHADER_CALL: unreachable("unsupported scope"); + case NIR_SCOPE_SHADER_CALL: return scope_invocation; } unreachable("invalid scope"); } -- 2.7.4