~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/gallium/frontends/lavapipe/meson.build

  • Committer: mmach
  • Date: 2022-09-22 19:56:13 UTC
  • Revision ID: netbit73@gmail.com-20220922195613-wtik9mmy20tmor0i
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
lvp_entrypoints = custom_target(
3
 
  'lvp_entrypoints',
4
 
  input : [vk_entrypoints_gen, vk_api_xml],
5
 
  output : ['lvp_entrypoints.h', 'lvp_entrypoints.c'],
6
 
  command : [
7
 
    prog_python, '@INPUT0@', '--xml', '@INPUT1@', '--proto', '--weak',
8
 
    '--out-h', '@OUTPUT0@', '--out-c', '@OUTPUT1@', '--prefix', 'lvp',
9
 
  ],
10
 
  depend_files : vk_entrypoints_gen_depend_files,
11
 
)
12
 
 
13
 
liblvp_files = files(
14
 
    'lvp_device.c',
15
 
    'lvp_cmd_buffer.c',
16
 
    'lvp_descriptor_set.c',
17
 
    'lvp_execute.c',
18
 
    'lvp_util.c',
19
 
    'lvp_image.c',
20
 
    'lvp_formats.c',
21
 
    'lvp_lower_vulkan_resource.c',
22
 
    'lvp_lower_vulkan_resource.h',
23
 
    'lvp_lower_input_attachments.c',
24
 
    'lvp_pipe_sync.c',
25
 
    'lvp_pipeline.c',
26
 
    'lvp_pipeline_cache.c',
27
 
    'lvp_query.c',
28
 
    'lvp_wsi.c')
29
 
 
30
 
lvp_deps = []
31
 
lvp_flags = []
32
 
 
33
 
if with_platform_x11
34
 
  lvp_deps += dep_xcb_dri3
35
 
endif
36
 
 
37
 
if with_platform_wayland
38
 
  lvp_deps += dep_wayland_client
39
 
endif
40
 
 
41
 
liblavapipe_st = static_library(
42
 
  'lavapipe_st',
43
 
  [liblvp_files, lvp_entrypoints, sha1_h],
44
 
  c_args : [ c_msvc_compat_args, lvp_flags ],
45
 
  gnu_symbol_visibility : 'hidden',
46
 
  include_directories : [ inc_include, inc_src, inc_util, inc_gallium, inc_compiler, inc_gallium_aux ],
47
 
  dependencies : [ dep_llvm, idep_nir, idep_mesautil, idep_vulkan_util, idep_vulkan_wsi,
48
 
                   idep_vulkan_runtime, lvp_deps ]
49
 
)