2017-09-14 17:57:17 -07:00
|
|
|
# Copyright © 2017 Intel Corporation
|
2024-06-28 13:16:28 -07:00
|
|
|
# SPDX-License-Identifier: MIT
|
2017-09-14 17:57:17 -07:00
|
|
|
|
|
|
|
|
inc_intel = include_directories('.')
|
2025-10-06 14:25:26 -07:00
|
|
|
inc_intel_compiler = include_directories('compiler')
|
2017-09-14 17:57:17 -07:00
|
|
|
|
2025-01-15 11:18:24 -08:00
|
|
|
with_intel_elk = get_option('intel-elk')
|
|
|
|
|
|
|
|
|
|
intel_common_args = []
|
|
|
|
|
if with_intel_elk
|
|
|
|
|
intel_common_args += ['-DINTEL_USE_ELK']
|
|
|
|
|
else
|
|
|
|
|
if with_gallium_crocus or with_intel_hasvk
|
|
|
|
|
error('Cannot build Crocus or Hasvk with meson option -Dintel-elk=false set.')
|
|
|
|
|
endif
|
|
|
|
|
endif
|
|
|
|
|
|
2023-06-09 23:54:51 -07:00
|
|
|
subdir('mda')
|
2019-04-08 16:27:30 +01:00
|
|
|
subdir('genxml')
|
2018-02-26 15:39:59 -08:00
|
|
|
subdir('dev')
|
2023-08-30 14:46:03 -04:00
|
|
|
if with_intel_hasvk or with_intel_vk or with_gallium_crocus or with_gallium_iris
|
|
|
|
|
subdir('blorp')
|
|
|
|
|
endif
|
2017-09-14 17:57:17 -07:00
|
|
|
subdir('isl')
|
2018-02-26 20:31:22 -08:00
|
|
|
subdir('common')
|
2017-09-14 17:57:17 -07:00
|
|
|
subdir('compiler')
|
2024-01-25 10:50:59 -08:00
|
|
|
subdir('decoder')
|
2024-02-20 02:05:26 +01:00
|
|
|
if with_intel_vk or with_gallium_iris
|
|
|
|
|
subdir('shaders')
|
|
|
|
|
endif
|
2023-08-30 14:47:30 -04:00
|
|
|
if with_intel_hasvk or with_intel_vk or with_gallium_crocus or with_gallium_iris or with_intel_tools
|
|
|
|
|
subdir('perf')
|
|
|
|
|
endif
|
2023-08-30 14:46:59 -04:00
|
|
|
if with_intel_hasvk or with_intel_vk or with_gallium_iris
|
|
|
|
|
subdir('ds')
|
|
|
|
|
endif
|
2019-11-22 12:16:50 +01:00
|
|
|
if with_intel_tools
|
2018-08-07 11:38:59 +01:00
|
|
|
subdir('tools')
|
2024-07-06 21:44:45 -07:00
|
|
|
subdir('executor')
|
2018-08-07 11:38:59 +01:00
|
|
|
endif
|
2019-11-11 23:45:17 +02:00
|
|
|
if get_option('vulkan-layers').contains('intel-nullhw')
|
|
|
|
|
subdir('nullhw-layer')
|
|
|
|
|
endif
|
2017-09-14 17:57:17 -07:00
|
|
|
if with_intel_vk
|
|
|
|
|
subdir('vulkan')
|
|
|
|
|
endif
|
2022-08-03 11:43:36 +03:00
|
|
|
if with_intel_hasvk
|
|
|
|
|
subdir('vulkan_hasvk')
|
|
|
|
|
endif
|