aco: Implement call scope.

Since we do no repacking yet, just use invocation.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12592>
This commit is contained in:
Bas Nieuwenhuizen 2021-07-26 12:05:38 +02:00 committed by Marge Bot
parent b6be96a2bd
commit 817553c052

View file

@ -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");
}