'inc', 'src', 'src/core', 'src/chip/gfx9', 'src/chip/r800',
'src/chip/gfx10',
),
- inc_amd_common, inc_common, inc_src,
+ inc_amd_common, inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux,
],
cpp_args : [cpp_vis_args, '-Wno-unused-variable'],
)
'amd_common',
[amd_common_files, sid_tables_h, amdgfxregs_h],
include_directories : [
- inc_common, inc_compiler, inc_mesa, inc_mapi, inc_amd,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_compiler, inc_mapi, inc_amd,
],
dependencies : [
dep_thread, dep_elf, dep_libdrm_amdgpu, dep_valgrind,
'aco',
[libaco_files, aco_opcodes_c, aco_opcodes_h, aco_builder_h],
include_directories : [
- inc_common, inc_compiler, inc_mesa, inc_mapi, inc_amd, inc_amd_common, inc_amd_common_llvm,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_compiler, inc_amd, inc_amd_common, inc_amd_common_llvm,
],
link_with : [
libamd_common
'amd_common_llvm',
[amd_common_llvm_files],
include_directories : [
- inc_common, inc_compiler, inc_mesa, inc_mapi, inc_amd, inc_amd_common
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_compiler, inc_amd, inc_amd_common
],
link_with: [
libamd_common
'vulkan_radeon',
[libradv_files, radv_entrypoints, radv_extensions_c, amd_vk_format_table_c, sha1_h, radv_gfx10_format_table_h],
include_directories : [
- inc_common, inc_amd, inc_amd_common, inc_amd_common_llvm, inc_compiler, inc_util, inc_vulkan_wsi,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_amd, inc_amd_common, inc_amd_common_llvm, inc_compiler, inc_util, inc_vulkan_wsi,
],
link_with : [
libamd_common, libamd_common_llvm, libamdgpu_addrlib, libvulkan_wsi,
libbroadcom_cle = static_library(
['broadcom_cle', v3d_xml_h],
'v3d_decoder.c',
- include_directories : [inc_common, inc_broadcom],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_broadcom],
c_args : [c_vis_args, no_override_init_args],
dependencies : [dep_libdrm, dep_valgrind, dep_expat, dep_zlib],
build_by_default : false,
libbroadcom_compiler = static_library(
['broadcom_compiler', v3d_xml_pack],
libbroadcom_compiler_files,
- include_directories : [inc_common, inc_broadcom],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_broadcom],
c_args : [c_vis_args, no_override_init_args],
dependencies : [dep_libdrm, dep_valgrind, idep_nir_headers],
build_by_default : false,
libv3d_noop_drm_shim = shared_library(
['v3d_noop_drm_shim'],
'v3d_noop.c',
- include_directories: inc_common,
+ include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies: dep_drm_shim,
c_args : c_vis_args,
install : true,
'v3dx.c',
v3d_xml_pack
],
- include_directories : [inc_common, inc_broadcom, inc_src, inc_gallium_v3d],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_broadcom, inc_gallium_v3d],
c_args : [c_vis_args, no_override_init_args, '-DV3D_VERSION=' + ver, v3dv3_c_args],
dependencies: [dep_valgrind, dep_thread, dep_v3dv3],
)
],
dependencies: [idep_mesautil, dep_dl, dep_drm_shim, dep_v3dv3],
link_with: per_version_libs,
- include_directories : [inc_common, inc_broadcom, inc_gallium_v3d],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_broadcom, inc_gallium_v3d],
c_args : [c_vis_args, no_override_init_args, '-std=gnu99', v3dv3_c_args],
cpp_args : [v3dv3_c_args]
)
files('clif/v3dx_dump.c'),
v3d_xml_pack
],
- include_directories : [inc_common, inc_broadcom, inc_src],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_broadcom],
c_args : [c_vis_args, no_override_init_args, '-DV3D_VERSION=' + ver],
dependencies: [dep_valgrind, dep_thread],
)
files('common/v3d_debug.c', 'common/v3d_device_info.c', 'clif/clif_dump.c'),
v3d_xml_pack,
],
- include_directories : [inc_common, inc_broadcom, inc_src],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_broadcom],
c_args : [c_vis_args, no_override_init_args],
link_whole : v3d_libs + per_version_libs,
build_by_default : false,
libbroadcom_qpu = static_library(
['broadcom_qpu', v3d_xml_pack],
libbroadcom_qpu_files,
- include_directories : [inc_common, inc_broadcom],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_broadcom],
c_args : [c_vis_args, no_override_init_args],
dependencies : [dep_libdrm, dep_valgrind],
build_by_default : false,
'qpu_disasm', 'tests/qpu_disasm.c',
link_with: libbroadcom_qpu,
dependencies : idep_mesautil,
- include_directories: inc_common
+ include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux]
),
suite : ['broadcom'],
)
'glcpp',
[glcpp_lex, glcpp_parse, files('glcpp.h', 'pp.c')],
dependencies : idep_mesautil,
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args, no_override_init_args, c_msvc_compat_args, _extra_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args, _extra_args],
build_by_default : false,
'glcpp_standalone',
'pp_standalone_scaffolding.c',
link_with : libglcpp,
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args, no_override_init_args, c_msvc_compat_args, _extra_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args, _extra_args],
build_by_default : false,
'glcpp',
'glcpp.c',
dependencies : [dep_m, idep_getopt],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [libglcpp_standalone, libglsl_util],
c_args : [c_vis_args, no_override_init_args, c_msvc_compat_args],
build_by_default : false,
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
link_with : libglcpp,
- include_directories : [inc_common, inc_compiler],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_compiler],
dependencies : idep_nir,
build_by_default : false,
)
[files_libglsl_standalone, ir_expression_operation_h],
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [libglsl, libglsl_util, libglcpp_standalone],
dependencies : [idep_mesautil, idep_getopt],
build_by_default : false,
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
dependencies : [dep_clock, dep_thread, idep_getopt],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [libglsl_standalone],
build_by_default : with_tools.contains('glsl'),
install : with_tools.contains('glsl'),
ir_expression_operation_h],
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_clock, dep_thread, idep_getopt],
link_with : [libglsl, libglsl_standalone, libglsl_util],
build_by_default : with_tools.contains('glsl'),
'cache_test',
'cache_test.c',
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
- include_directories : [inc_common, inc_glsl],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glsl],
link_with : [libglsl],
dependencies : [dep_clock, dep_thread],
),
'lower_int64_test.cpp', 'opt_add_neg_to_sub_test.cpp',
'varyings_test.cpp', ir_expression_operation_h],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common, inc_glsl],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glsl],
link_with : [libglsl, libglsl_standalone, libglsl_util],
dependencies : [dep_clock, dep_thread, idep_gtest],
),
'uniform_initializer_utils.cpp', 'uniform_initializer_utils.h',
ir_expression_operation_h],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common, inc_glsl],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glsl],
link_with : [libglsl, libglsl_util],
dependencies : [dep_thread, idep_gtest],
),
'sampler_types_test',
['sampler_types_test.cpp', ir_expression_operation_h],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common, inc_glsl],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glsl],
link_with : [libglsl, libglsl_util],
dependencies : [dep_thread, idep_gtest],
),
libcompiler = static_library(
'compiler',
[files_libcompiler, ir_expression_operation_h],
- include_directories : [inc_mapi, inc_mesa, inc_compiler, inc_common],
+ include_directories : [inc_mapi, inc_mesa, inc_compiler, inc_include, inc_src, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
dependencies : [dep_valgrind],
'spirv2nir',
files('spirv/spirv2nir.c'),
dependencies : [dep_m, idep_nir, idep_mesautil],
- include_directories : [inc_common, include_directories('spirv')],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, include_directories('spirv')],
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
build_by_default : with_tools.contains('nir'),
install : with_tools.contains('nir'),
[files_libnir, spirv_info_c, nir_opt_algebraic_c, nir_opcodes_c,
nir_opcodes_h, nir_constant_expressions_c, nir_builder_opcodes_h,
vtn_gather_types_c, nir_intrinsics_c, nir_intrinsics_h],
- include_directories : [inc_common, inc_compiler, include_directories('../spirv')],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_compiler, include_directories('../spirv')],
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
link_with : libcompiler,
build_by_default : false,
'nir_builder_test',
files('tests/builder_tests.cpp'),
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
'nir_control_flow_test',
files('tests/control_flow_tests.cpp'),
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
'nir_vars_test',
files('tests/vars_tests.cpp'),
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
'negative_equal',
files('tests/negative_equal_tests.cpp'),
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
'comparison_pre',
files('tests/comparison_pre_tests.cpp'),
c_args : [c_vis_args, c_msvc_compat_args, no_override_init_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
'load_store_vectorizer',
files('tests/load_store_vectorizer_tests.cpp'),
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
'nir_serialize_test',
files('tests/serialize_tests.cpp'),
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
),
suite : ['compiler', 'nir'],
'device.c',
'drm_shim.c',
],
- include_directories: [inc_common],
+ include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies: [idep_mesautil, dep_dl],
c_args : [c_vis_args, '-std=gnu99'],
)
libetnaviv_noop_drm_shim = shared_library(
'etnaviv_noop_drm_shim',
'etnaviv_noop.c',
- include_directories: inc_common,
+ include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies: dep_drm_shim,
c_args : c_vis_args,
install : true,
libetnaviv_drm_files,
include_directories : [
inc_etnaviv,
- inc_common,
+ inc_include,
+ inc_src,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
'etnaviv_cmd_stream_test.c',
include_directories : [
inc_etnaviv,
- inc_common,
+ inc_include,
+ inc_src,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
'etnaviv_bo_cache_test.c',
include_directories : [
inc_etnaviv,
- inc_common,
+ inc_include,
+ inc_src,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
'computerator',
computerator_files,
include_directories : [
- inc_common,
inc_freedreno,
+ inc_include,
+ inc_src,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
],
link_with : [
libfreedreno_drm,
libfreedreno_noop_drm_shim = shared_library(
['freedreno_noop_drm_shim'],
'freedreno_noop.c',
- include_directories: inc_common,
+ include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies: dep_drm_shim,
c_args : c_vis_args,
install : true,
libfreedreno_drm_files,
include_directories : [
inc_freedreno,
- inc_common,
+ inc_include,
+ inc_src,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
'fd6_layout.c',
'freedreno_layout.c',
],
- include_directories : [inc_freedreno, inc_common],
+ include_directories : [inc_freedreno, inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
dependencies : idep_nir_headers,
libfreedreno_ir3 = static_library(
'freedreno_ir3',
[libfreedreno_ir3_files, ir3_nir_trig_c, ir3_nir_imul_c],
- include_directories : [inc_freedreno, inc_common],
+ include_directories : [inc_freedreno, inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
dependencies : idep_nir_headers,
libfreedreno_perfcntrs = static_library(
'freedreno_perfcntrs',
[libfreedreno_perfcntrs_files, freedreno_xml_header_files],
- include_directories : [inc_freedreno, inc_common],
+ include_directories : [inc_freedreno, inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
dependencies : idep_nir_headers,
'fdperf',
'fdperf.c',
include_directories : [
- inc_common,
inc_freedreno,
+ inc_include,
+ inc_src,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
],
link_with : [
libfreedreno_drm,
'vulkan_freedreno',
[libtu_files, tu_entrypoints, tu_extensions_c, freedreno_xml_header_files],
include_directories : [
- inc_common,
+ inc_include,
+ inc_src,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
inc_compiler,
inc_vulkan_wsi,
inc_freedreno,
iris_gen_libs += static_library(
'iris_gen@0@'.format(v),
['iris_blorp.c', 'iris_query.c', 'iris_state.c', gen_xml_pack],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
c_args : [
c_vis_args, no_override_init_args, c_sse2_args,
'-DGEN_VERSIONx10=@0@'.format(v),
'nouveau',
files_libnouveau,
include_directories : [
- inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_common,
+ inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_mapi, inc_mesa,
],
c_args : [c_vis_args],
cpp_args : [cpp_vis_args],
)
panfrost_includes = [
- inc_common,
+ inc_mapi,
+ inc_mesa,
inc_gallium,
inc_gallium_aux,
inc_include,
c_args : [c_vis_args, r600_c_args, '-Wstrict-overflow=0'],
cpp_args : [cpp_vis_args],
include_directories : [
- inc_src, inc_common, inc_include, inc_compiler, inc_gallium, inc_gallium_aux, inc_amd_common,
+ inc_src, inc_mapi, inc_mesa, inc_include, inc_compiler, inc_gallium, inc_gallium_aux, inc_amd_common,
inc_gallium_drivers,
],
dependencies: [dep_libdrm_radeon, dep_elf, dep_llvm, idep_nir, idep_nir_headers],
cpp_msvc_compat_args, cpp_vis_args, swr_cpp_args, swr_avx_args,
swr_defines,
],
- include_directories : [inc_common, swr_incs],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, swr_incs],
dependencies : dep_llvm,
)
'virgl',
[ files_libvirgl, virgl_driinfo_h ],
c_args : c_vis_args,
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : dep_libdrm
)
'virgl_staging_mgr_test',
files('virgl_staging_mgr_test.cpp'),
dependencies : [dep_thread, idep_gtest],
- include_directories : [inc_common, include_directories('..')],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, include_directories('..')],
link_with : [libvirgl, libgallium],
),
suite : ['virgl'],
'zink',
files_libzink,
c_args : c_vis_args,
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies: [dep_vulkan, idep_nir_headers],
)
'xlib',
files('glx_api.c', 'glx_getproc.c', 'glx_usefont.c', 'xm_api.c', 'xm_st.c'),
c_args : c_vis_args,
- include_directories : [inc_common, inc_mapi, inc_mesa],
+ include_directories : [inc_include, inc_src, inc_gallium, inc_gallium_aux, inc_mapi, inc_mesa],
dependencies : [dep_x11, dep_xext, dep_xcb, dep_glproto],
)
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-inc_st_omx = [inc_common]
+inc_st_omx = [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux]
dep_st_omx = [
dep_omx, dep_x11_xcb, dep_xcb, dep_xcb_dri2, dep_xcb_dri3, dep_libdrm,
]
libva_version[0], libva_version[1]
),
],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [
dep_va_headers, dep_x11_xcb, dep_xcb, dep_xcb_dri2, dep_xcb_dri3,
dep_libdrm,
'xa_tracker.c', 'xa_yuv.c',
)],
c_args : [c_vis_args, '-pedantic'],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
)
install_headers('xa_composite.h', 'xa_context.h')
'xvmc_st',
files('attributes.c', 'block.c', 'context.c', 'surface.c', 'subpicture.c'),
c_args : [c_vis_args],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [
dep_xvmc, dep_x11_xcb, dep_xcb, dep_xcb_dri2, dep_xcb_dri3, dep_xv,
dep_libdrm,
'gallium_dri',
files('target.c'),
include_directories : [
- inc_common, inc_util, inc_dri_common, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_dri_common, inc_gallium_drivers,
inc_gallium_winsys, include_directories('../../state_trackers/dri'),
],
c_args : [c_vis_args],
'graw_util',
['graw_util.c'],
c_args : [c_vis_args, c_msvc_compat_args],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
)
libgraw_null = shared_library(
'graw_null',
['graw_null.c'],
c_args : [c_vis_args, c_msvc_compat_args],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : libgallium,
dependencies : idep_mesautil,
name_prefix : host_machine.system() == 'windows' ? '' : 'lib', # otherwise mingw will create libgraw_null.dll
'graw_xlib',
['graw_xlib.c'],
c_args : [c_vis_args],
- include_directories : [inc_common, inc_gallium_drivers, inc_gallium_winsys],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_gallium_drivers, inc_gallium_winsys],
link_with : [
libgraw_util, libgallium, libws_xlib
],
'swpipe',
files('SoftwareRenderer.cpp', 'GalliumContext.cpp'),
include_directories : [
- inc_common, inc_util, inc_haikugl, inc_gallium_drivers, inc_gallium_winsys,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_haikugl, inc_gallium_drivers, inc_gallium_winsys,
include_directories('../../state_trackers/hgl'),
include_directories('/boot/system/develop/headers/private')
],
['libgl_gdi.c'],
vs_module_defs : ogldef,
include_directories : [
- inc_common, inc_wgl, inc_gallium_winsys_sw, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_wgl, inc_gallium_winsys_sw, inc_gallium_drivers,
],
link_whole : [libwgl],
link_with : [
'GL',
files('xlib.c'),
include_directories : [
- inc_common, inc_gallium_winsys, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_gallium_winsys, inc_gallium_drivers,
include_directories('../../state_trackers/glx/xlib'),
],
c_args : [c_vis_args, gallium_xlib_c_args],
cpp_args : cpp_vis_args,
link_args : [omx_link_args, ld_args_gc_sections],
include_directories : [
- inc_common, inc_util, inc_gallium_winsys, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers,
],
link_whole : [libomx_st],
link_with : [
executable(
'osmesa-render',
'test-render.cpp',
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with: libosmesa,
dependencies : [idep_gtest],
),
cpp_args : cpp_vis_args,
link_args : [va_link_args, ld_args_gc_sections],
include_directories : [
- inc_common, inc_util, inc_gallium_winsys, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers,
],
link_whole : [libva_st],
link_with : [
cpp_args : cpp_vis_args,
link_args : [vdpau_link_args, ld_args_gc_sections],
include_directories : [
- inc_common, inc_util, inc_gallium_winsys, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers,
],
link_whole : [libvdpau_st],
link_with : [
cpp_args : cpp_vis_args,
link_args : [xa_link_args, ld_args_gc_sections],
include_directories : [
- inc_common, inc_util, inc_gallium_winsys, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers,
],
link_whole : [libxa_st],
link_with : [
cpp_args : cpp_vis_args,
link_args : [xvmc_link_args, ld_args_gc_sections],
include_directories : [
- inc_common, inc_util, inc_gallium_winsys, inc_gallium_drivers,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util, inc_gallium_winsys, inc_gallium_drivers,
],
link_whole : [libxvmc_st],
link_with : [
executable(
'graw-' + t,
t + '.c',
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [libgraw, libgraw_util, libgallium],
dependencies : [dep_m, idep_mesautil],
)
executable(
t,
'@0@.c'.format(t),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [libgallium, libpipe_loader_dynamic],
dependencies : idep_mesautil,
install : false,
exe = executable(
t,
'@0@.c'.format(t),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : libgallium,
dependencies : idep_mesautil,
install : false,
'ws_xlib',
files('xlib_sw_winsys.c'),
c_args : c_vis_args,
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [dep_x11, dep_xext, dep_xcb],
)
'virglcommon',
'virgl_resource_cache.c',
c_args : c_vis_args,
- include_directories : [inc_common, inc_gallium_drivers],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_gallium_drivers],
)
dep_libvirglcommon = declare_dependency(
'virgldrm',
'virgl_drm_winsys.c',
c_args : c_vis_args,
- include_directories : [inc_common, inc_gallium_drivers],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_gallium_drivers],
dependencies : [dep_libdrm, dep_libvirglcommon],
)
'virglvtest',
['virgl_vtest_socket.c', 'virgl_vtest_winsys.c'],
c_args : c_vis_args,
- include_directories : [inc_common, inc_gallium_drivers],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_gallium_drivers],
dependencies : dep_libvirglcommon,
)
libglx = static_library(
'glx',
[files_libglx, glx_generated],
- include_directories : [inc_common, inc_glapi, inc_loader],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_glapi, inc_loader],
c_args : [
c_vis_args, gl_lib_cargs,
'-DGL_LIB_NAME="lib@0@.so.@1@"'.format(gl_lib_name, gl_lib_version.split('.')[0]),
libblorp = static_library(
'blorp',
files_libblorp,
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
c_args : [c_vis_args, no_override_init_args],
dependencies : [idep_nir_headers, idep_genxml],
)
libintel_common = static_library(
['intel_common', genX_xml_h],
files_libintel_common,
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
c_args : [c_vis_args, no_override_init_args],
link_with : [libisl],
dependencies : [dep_expat, dep_libdrm, dep_thread, idep_genxml],
cpp_vis_args, cpp_msvc_compat_args,
'-DGEN_VERSIONx10=@0@'.format(g[0])
],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libintel_dev],
dependencies : [dep_libdrm, idep_gtest, idep_genxml, idep_mesautil],
install : install_intel_gpu_tests,
executable(
'genxml_test',
['tests/genxml_test.c', gentest_pack],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
dependencies : idep_mesautil,
link_with : libintel_common,
c_args : [
libintel_compiler = static_library(
'intel_compiler',
[libintel_compiler_files, brw_nir_trig, ir_expression_operation_h],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
dependencies : idep_nir_headers,
executable(
[t, ir_expression_operation_h],
'test_@0@.cpp'.format(t),
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [
libintel_compiler, libintel_common, libintel_dev, libisl,
],
libintel_dev = static_library(
['intel_dev'],
files_libintel_dev,
- include_directories : [inc_common, inc_intel, inc_include],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
c_args : [c_vis_args, no_override_init_args],
)
isl_gen_libs += static_library(
'isl_gen@0@'.format(_gen),
[g[1], isl_gen_files, gen_xml_pack],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
c_args : [c_vis_args, no_override_init_args,
'-DGEN_VERSIONx10=@0@'.format(_gen)],
)
'isl_tiled_memcpy',
[files_isl_tiled_memcpy],
include_directories : [
- inc_common, inc_intel, inc_include,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel,
],
c_args : [c_vis_args, no_override_init_args, '-msse2'],
extra_files : ['isl_tiled_memcpy.c']
'isl_tiled_memcpy_sse41',
[files_isl_tiled_memcpy_sse41],
include_directories : [
- inc_common, inc_intel, inc_include,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel,
],
link_args : ['-Wl,--exclude-libs=ALL'],
c_args : [c_vis_args, no_override_init_args, '-msse2', sse41_args],
libisl = static_library(
'isl',
[libisl_files, isl_format_layout_c, genX_bits_h],
- include_directories : [inc_common, inc_intel, inc_include],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [isl_gen_libs, isl_tiled_memcpy, isl_tiled_memcpy_sse41],
c_args : [c_vis_args, no_override_init_args],
)
'isl_surf_get_image_offset_test',
'tests/isl_surf_get_image_offset_test.c',
dependencies : [dep_m, idep_mesautil],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libisl, libintel_dev],
),
suite : ['intel'],
'isl_aux_info.c',
],
dependencies : [dep_m, idep_gtest, idep_mesautil],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
c_args : '-DIN_UNIT_TEST',
cpp_args : '-DIN_UNIT_TEST',
),
'intel_perf',
gen_perf_sources,
include_directories : [
- inc_common, inc_intel, inc_util,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel, inc_util,
],
c_args : [c_vis_args, no_override_init_args, '-msse2'],
cpp_args : [cpp_vis_args, '-msse2'],
libintel_imgui_gtk = static_library(
'intel_imgui_gtk',
files('imgui_impl_gtk3.cpp', 'imgui_impl_opengl3.cpp'),
- include_directories: inc_common,
+ include_directories: [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : libintel_imgui_gtk_deps,
cpp_args : ['-w'],
install: false
libaub = static_library(
'aub',
files('aub_read.c', 'aub_mem.c'),
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
dependencies : idep_mesautil,
link_with : [libintel_common, libintel_dev],
c_args : [c_vis_args, no_override_init_args],
'aubinator',
files('aubinator.c'),
dependencies : [idep_mesautil, dep_expat, dep_zlib, dep_dl, dep_thread, dep_m],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libintel_common, libintel_compiler, libintel_dev, libaub],
c_args : [c_vis_args, no_override_init_args],
install : true
'aubinator_error_decode',
files('aubinator_error_decode.c'),
dependencies : [idep_mesautil, dep_zlib, dep_thread],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libintel_common, libintel_compiler, libintel_dev],
c_args : [c_vis_args, no_override_init_args],
install : true
'i965_disasm',
files('i965_disasm.c'),
dependencies : [idep_mesautil, dep_thread],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libintel_common, libintel_compiler, libintel_dev],
c_args : [c_vis_args, no_override_init_args],
install : true
'intel_error2aub',
files('aub_write.h', 'aub_write.c', 'error2aub.c'),
dependencies : [dep_zlib, dep_dl, dep_thread, dep_m],
- include_directories : [inc_common, inc_intel, inc_include],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libintel_dev],
c_args : [c_vis_args, no_override_init_args],
install : true
'intel_sanitize_gpu',
files('intel_sanitize_gpu.c'),
dependencies : [idep_mesautil, dep_dl, dep_thread],
- include_directories : [inc_common, inc_intel, inc_include],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : libintel_common,
c_args : [c_vis_args, no_override_init_args, c_sse2_args],
install_dir : get_option('libexecdir'),
'aub_write.h', 'aub_write.c', 'intel_dump_gpu.c',
),
dependencies : dep_dl,
- include_directories : [inc_common, inc_intel, inc_include],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : libintel_dev,
c_args : [c_vis_args, no_override_init_args],
install_dir : get_option('libexecdir'),
'aubinator_viewer',
files('aubinator_viewer.cpp', 'aubinator_viewer_decoder.cpp'),
dependencies : [idep_mesautil, dep_zlib, dep_dl, dep_thread, dep_m, libintel_imgui_gtk_dep],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libintel_common, libintel_compiler, libintel_dev, libaub],
c_args : [c_vis_args, no_override_init_args],
cpp_args : ['-fpermissive', '-Wno-parentheses', '-Wno-class-memaccess'],
'i965_asm',
['i965_asm.c', i965_gram_tab[0], i965_gram_tab[1], i965_lex_yy_c],
dependencies : [idep_mesautil, dep_thread],
- include_directories : [inc_common, inc_intel],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel],
link_with : [libintel_common, libintel_compiler, libintel_dev],
c_args : [c_vis_args, no_override_init_args],
install : true
'anv_gen@0@'.format(_gen),
[anv_gen_files, g[1], anv_entrypoints[0], anv_extensions_h],
include_directories : [
- inc_common, inc_compiler, inc_include, inc_intel, inc_vulkan_wsi,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_compiler, inc_intel, inc_vulkan_wsi,
],
c_args : [
c_vis_args, no_override_init_args, c_sse2_args,
gen_xml_pack,
],
include_directories : [
- inc_common, inc_intel, inc_compiler, inc_include,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel, inc_compiler,
inc_vulkan_wsi, inc_util,
],
c_args : anv_flags,
'vulkan_intel',
[files('anv_gem.c'), anv_entrypoints[0], anv_extensions_h],
include_directories : [
- inc_common, inc_intel, inc_compiler, inc_include, inc_vulkan_wsi,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel, inc_compiler, inc_vulkan_wsi,
],
link_whole : [libanv_common, libanv_gen_libs],
link_with : [
'vulkan_intel_test',
[files('anv_gem_stubs.c'), anv_entrypoints[0], anv_extensions_h],
include_directories : [
- inc_common, inc_intel, inc_compiler, inc_include, inc_vulkan_wsi,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel, inc_compiler, inc_vulkan_wsi,
],
link_whole : libanv_common,
link_with : [
link_with : libvulkan_intel_test,
dependencies : [dep_libdrm, dep_thread, dep_m, dep_valgrind, idep_vulkan_util, ],
include_directories : [
- inc_common, inc_intel, inc_compiler, inc_vulkan_wsi,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel, inc_compiler, inc_vulkan_wsi,
],
),
suite : ['intel'],
libdricommon = static_library(
'dricommon',
files('utils.c', 'utils.h', 'dri_util.c', 'dri_util.h'),
- include_directories : [inc_common, inc_util],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_util],
c_args : c_vis_args,
dependencies : [dep_libdrm, idep_xmlconfig_headers],
build_by_default : false,
libmegadriver_stub = static_library(
'megadriver_stub',
'megadriver_stub.c',
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : c_vis_args,
dependencies : dep_libdrm,
build_by_default : false,
libi915 = static_library(
'i915',
files_i915,
- include_directories : [inc_common, inc_dri_common, inc_util],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
dependencies : [dep_libdrm, dep_libdrm_intel, idep_xmlconfig_headers],
'i965_gen@0@'.format(v),
['genX_blorp_exec.c', 'genX_boilerplate.h', 'genX_pipe_control.c',
'genX_state_upload.c', gen_xml_pack],
- include_directories : [inc_common, inc_intel, inc_dri_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel, inc_dri_common],
c_args : [
c_vis_args, no_override_init_args, c_sse2_args,
'-DGEN_VERSIONx10=@0@'.format(v),
'i965',
[files_i965, ir_expression_operation_h],
include_directories : [
- inc_common, inc_intel, inc_dri_common, inc_include,
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_intel, inc_dri_common,
],
c_args : [c_vis_args, no_override_init_args, c_sse2_args],
cpp_args : [cpp_vis_args, c_sse2_args],
libnouveau_vieux = static_library(
'nouveau_vieux',
files_nouveau_vieux,
- include_directories : [inc_common, inc_dri_common, inc_util],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util],
c_args : [c_vis_args],
cpp_args : [cpp_vis_args],
dependencies : [dep_libdrm, dep_libdrm_nouveau, idep_xmlconfig_headers],
'r200',
files_r200,
include_directories : [
- inc_common, inc_dri_common, inc_util, include_directories('server'),
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util, include_directories('server'),
],
c_args : [c_vis_args, '-DRADEON_R200'],
cpp_args : [cpp_vis_args],
'r100',
files_r100,
include_directories : [
- inc_common, inc_dri_common, inc_util, include_directories('server'),
+ inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common, inc_util, include_directories('server'),
],
c_args : [c_vis_args, '-DRADEON_R100'],
cpp_args : [cpp_vis_args],
'swrast_dri',
files('swrast.c', 'swrast_priv.h'),
c_args : [c_vis_args],
- include_directories : [inc_common, inc_dri_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_dri_common],
dependencies : dep_libdrm,
)
'mesa_sse41',
files('main/streaming-load-memcpy.c', 'main/sse_minmax.c'),
c_args : [c_vis_args, c_msvc_compat_args, sse41_args],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
)
else
libmesa_sse41 = []
files_libmesa_common,
c_args : [c_vis_args, c_msvc_compat_args, _mesa_windows_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args, _mesa_windows_args],
- include_directories : [inc_common, inc_libmesa_asm, include_directories('main')],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_libmesa_asm, include_directories('main')],
dependencies : idep_nir_headers,
build_by_default : false,
)
files_libmesa_classic,
c_args : [c_vis_args, c_msvc_compat_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args],
- include_directories : [inc_common, inc_libmesa_asm, include_directories('main')],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_libmesa_asm, include_directories('main')],
link_with : [libmesa_common, libglsl, libmesa_sse41],
dependencies : idep_nir_headers,
build_by_default : false,
files_libmesa_gallium,
c_args : [c_vis_args, c_msvc_compat_args, _mesa_windows_args],
cpp_args : [cpp_vis_args, cpp_msvc_compat_args, _mesa_windows_args],
- include_directories : [inc_common, inc_libmesa_asm, include_directories('main')],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_libmesa_asm, include_directories('main')],
link_with : [libmesa_common, libglsl, libmesa_sse41],
dependencies : [idep_nir_headers, dep_vdpau],
build_by_default : false,
libmesa_st_test_common = static_library(
'mesa_st_test_common',
['st_tests_common.cpp', ir_expression_operation_h],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : idep_gtest,
)
executable(
'st_format_test',
['st_format.c'],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [
libmesa_st_test_common, libmesa_gallium, libglapi, libgallium,
],
executable(
'st_renumerate_test',
['test_glsl_to_tgsi_lifetime.cpp', ir_expression_operation_h],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [
libmesa_st_test_common, libmesa_gallium, libglapi, libgallium,
],
executable(
'st_array_merge_test',
['test_glsl_to_tgsi_array_merge.cpp', ir_expression_operation_h],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : [
libmesa_st_test_common, libmesa_gallium, libglapi, libgallium,
],
inc_gallium_aux = include_directories('gallium/auxiliary')
inc_amd_common = include_directories('amd/common')
inc_amd_common_llvm = include_directories('amd/llvm')
-inc_common = [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux]
libglsl_util = static_library(
'glsl_util',
'mesa/program/prog_parameter.c', 'mesa/program/symbol_table.c',
'mesa/program/dummy_errors.c',
),
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args],
build_by_default : false,
)
libpanfrost_bifrost = static_library(
'panfrost_bifrost',
[libpanfrost_bifrost_files, bifrost_nir_algebraic_c],
- include_directories : [inc_common, inc_include, inc_src, inc_panfrost_hw],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_panfrost_hw],
dependencies: [idep_nir],
link_with: [libpanfrost_util],
c_args : [c_vis_args, no_override_init_args],
libpanfrost_encoder = static_library(
'panfrost_encoder',
[libpanfrost_encoder_files],
- include_directories : [inc_common, inc_panfrost_hw],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_panfrost_hw],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
dependencies: [dep_libdrm],
'bifrost_compiler',
[files_bifrost],
include_directories : [
- inc_common,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
inc_include,
inc_src,
inc_panfrost,
'panfrost_midgard',
[libpanfrost_midgard_files, midgard_nir_algebraic_c],
include_directories : [
- inc_common,
+ inc_mapi,
+ inc_mesa,
+ inc_gallium,
+ inc_gallium_aux,
inc_include,
inc_src,
inc_panfrost_hw,
libpanfrost_decode = static_library(
'panfrost_decode',
[libpanfrost_decode_files],
- include_directories : [inc_common, inc_panfrost],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_panfrost],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
build_by_default : false,
libpanfrost_shared = static_library(
'panfrost_shared',
[libpanfrost_shared_files],
- include_directories : [inc_common],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_vis_args, no_override_init_args, '-O3'],
cpp_args : [cpp_vis_args],
build_by_default : false,
libpanfrost_util = static_library(
'panfrost_util',
[libpanfrost_util_files],
- include_directories : [inc_common, inc_panfrost_hw],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux, inc_panfrost_hw],
dependencies: [idep_nir],
c_args : [c_vis_args, no_override_init_args],
cpp_args : [cpp_vis_args],
libmesa_format = static_library(
'mesa_format',
[files_mesa_format, u_format_table_c],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : dep_m,
c_args : [c_msvc_compat_args, c_vis_args],
build_by_default : false
_libmesa_util = static_library(
'mesa_util',
[files_mesa_util, format_srgb],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : deps_for_libmesa_util,
link_with: libmesa_format,
c_args : [c_msvc_compat_args, c_vis_args],
_libxmlconfig = static_library(
'xmlconfig',
files_xmlconfig,
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [idep_mesautil, dep_expat, dep_m],
c_args : [
c_msvc_compat_args, c_vis_args,
executable(
'u_atomic_test',
files('u_atomic_test.c'),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : idep_mesautil,
c_args : [c_msvc_compat_args],
),
executable(
'blob_test',
files('blob_test.c'),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : idep_mesautil,
c_args : [c_msvc_compat_args],
),
executable(
'rb_tree_test',
files('rb_tree_test.c'),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : idep_mesautil,
c_args : [c_msvc_compat_args],
),
executable(
'roundeven_test',
files('roundeven_test.c'),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
c_args : [c_msvc_compat_args],
dependencies : [dep_m],
),
executable(
'mesa-sha1_test',
files('mesa-sha1_test.c'),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_with : _libmesa_util,
c_args : [c_msvc_compat_args],
),
executable(
'bitset_test',
files('bitset_test.cpp'),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [idep_mesautil, idep_gtest],
),
suite : ['util'],
process_test_exe = executable(
'process_test',
files('process_test.c'),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : idep_mesautil,
c_args : [c_msvc_compat_args],
)
'fast_idiv_by_const_test',
'fast_idiv_by_const_test.cpp',
dependencies : [idep_gtest, idep_mesautil],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
),
suite : ['util'],
timeout: 60,
'fast_urem_by_const_test',
'fast_urem_by_const_test.cpp',
dependencies : [idep_gtest, idep_mesautil],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
),
suite : ['util'],
)
executable(
t,
'@0@.c'.format(t),
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : idep_mesautil,
),
suite : 'format',
'set_test',
'set_test.cpp',
dependencies : [dep_thread, dep_dl, idep_gtest, idep_mesautil],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
),
suite : ['util'],
)
'multi_threaded',
'multi_threaded.c',
dependencies : [idep_mesautil],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
),
suite : ['util'],
timeout: 60,
'string_buffer_test.cpp',
cpp_args : [cpp_msvc_compat_args],
dependencies : [idep_gtest, idep_mesautil],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
),
suite : ['util'],
)
'timespec_test',
'timespec_test.cpp',
dependencies : [dep_thread, dep_dl, idep_gtest, idep_mesautil],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
),
suite : ['util'],
)
'vector_test',
'vector_test.cpp',
dependencies : [idep_gtest, idep_mesautil],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
),
suite : ['util'],
)
c_args : [c_vis_args, no_override_init_args, vulkan_wsi_args],
cpp_args : [cpp_vis_args, vulkan_wsi_args],
dependencies : [idep_vulkan_util, idep_mesautil, vulkan_wsi_deps, libimgui_core_dep, dep_dl],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
link_args : cc.get_supported_link_arguments(['-Wl,-Bsymbolic-functions', '-Wl,-z,relro']),
install : true
)
libvulkan_util = static_library(
'vulkan_util',
[files_vulkan_util, vk_enum_to_str],
- include_directories : inc_common,
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : vulkan_wsi_deps,
c_args : [c_vis_args, vulkan_wsi_args],
build_by_default : false,
libvulkan_wsi = static_library(
'vulkan_wsi',
files_vulkan_wsi,
- include_directories : [inc_common, inc_include],
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
dependencies : [vulkan_wsi_deps, dep_libdrm, idep_vulkan_util, idep_xmlconfig],
c_args : [c_vis_args, vulkan_wsi_args],
build_by_default : false,