1# Copyright © 2017 Intel Corporation 2# SPDX-License-Identifier: MIT 3 4inc_intel = include_directories('.') 5 6with_intel_elk = get_option('intel-elk') 7 8intel_common_args = [] 9if with_intel_elk 10 intel_common_args += ['-DINTEL_USE_ELK'] 11else 12 if with_gallium_crocus or with_intel_hasvk 13 error('Cannot build Crocus or Hasvk with meson option -Dintel-elk=false set.') 14 endif 15endif 16 17subdir('genxml') 18subdir('dev') 19if with_intel_hasvk or with_intel_vk or with_gallium_crocus or with_gallium_iris 20 subdir('blorp') 21endif 22subdir('isl') 23subdir('common') 24subdir('compiler') 25subdir('decoder') 26if with_intel_vk or with_gallium_iris 27 subdir('shaders') 28endif 29if with_intel_hasvk or with_intel_vk or with_gallium_crocus or with_gallium_iris or with_intel_tools 30 subdir('perf') 31endif 32if with_intel_hasvk or with_intel_vk or with_gallium_iris 33 subdir('ds') 34endif 35if with_intel_tools 36 subdir('tools') 37 subdir('executor') 38endif 39if get_option('vulkan-layers').contains('intel-nullhw') 40 subdir('nullhw-layer') 41endif 42if with_intel_vk 43 subdir('vulkan') 44endif 45if with_intel_hasvk 46 subdir('vulkan_hasvk') 47endif 48