anv: rewrite internal shaders using OpenCL

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26797>
This commit is contained in:
Lionel Landwerlin
2023-11-06 13:12:25 +02:00
committed by Marge Bot
parent da391650f5
commit b52e25d3a8
26 changed files with 911 additions and 1133 deletions

View File

@@ -298,7 +298,8 @@ with_any_broadcom = [
if ['x86_64'].contains(host_machine.cpu_family()) and \
get_option('intel-clc') != 'system'
# Require intel-clc with Anv & Iris (for internal shaders)
with_intel_clc = get_option('intel-clc') == 'enabled'
with_intel_clc = get_option('intel-clc') == 'enabled' or \
with_intel_vk
else
with_intel_clc = false
endif