• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2025 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package {
18    // See: http://go/android-license-faq
19    default_applicable_licenses: ["external_mesa3d_license"],
20}
21
22genrule {
23    name: "mesa_lvp_vk_entrypoints_header",
24    srcs: [":mesa_vulkan_xml"],
25    out: ["lvp_entrypoints.h"],
26    tools: ["vk_entrypoints_gen"],
27    cmd: "python3 $(location vk_entrypoints_gen) --xml " +
28        "$(location :mesa_vulkan_xml) --proto --weak --out-h " +
29        "$(location lvp_entrypoints.h) --out-c " +
30        "$(genDir)/placeholder.c --prefix lvp --beta false",
31}
32
33genrule {
34    name: "mesa_lvp_vk_entrypoints_impl",
35    srcs: [":mesa_vulkan_xml"],
36    out: ["lvp_entrypoints.c"],
37    tools: ["vk_entrypoints_gen"],
38    cmd: "python3 $(location vk_entrypoints_gen) --xml " +
39        "$(location :mesa_vulkan_xml) --proto --weak --out-h " +
40        "$(genDir)/lvp_entrypoints.h --out-c " +
41        "$(location lvp_entrypoints.c) --prefix lvp " +
42        "--beta false",
43}
44
45filegroup {
46    name: "mesa_lavapipe_files",
47    srcs: [
48        "lvp_inline_uniforms.c",
49        "lvp_lower_exec_graph.c",
50        "lvp_cmd_buffer.c",
51        "lvp_formats.c",
52        "lvp_pipeline.c",
53        "lvp_device.c",
54        "lvp_nir_lower_sparse_residency.c",
55        "lvp_image.c",
56        "lvp_lower_vulkan_resource.c",
57        "lvp_ray_tracing_pipeline.c",
58        "lvp_nir_ray_tracing.c",
59        "lvp_pipeline_cache.c",
60        "lvp_util.c",
61        "lvp_nir_lower_ray_queries.c",
62        "lvp_pipe_sync.c",
63        "lvp_device_generated_commands.c",
64        "lvp_query.c",
65        "lvp_wsi.c",
66        "lvp_execute.c",
67        "lvp_acceleration_structure.c",
68        "lvp_lower_input_attachments.c",
69        "lvp_descriptor_set.c",
70    ],
71}
72
73filegroup {
74    name: "mesa_lvp_android_files",
75    srcs: [
76        "lvp_android.c",
77    ],
78}
79