Module: Mesa
Branch: master
Commit: 2d6de5d2274e0e2ed6b233c7cee5ec97def7a5f7
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d6de5d2274e0e2ed6b233c7cee5ec97def7a5f7

Author: Jason Ekstrand <[email protected]>
Date:   Sat Jan 30 10:08:37 2021 -0600

anv,vulkan: Move anv_icd.py to a common location

Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Tested-by: Tapani Pälli <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8792>

---

 src/intel/vulkan/meson.build                               | 2 +-
 src/vulkan/util/meson.build                                | 1 +
 src/{intel/vulkan/anv_icd.py => vulkan/util/vk_icd_gen.py} | 0
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/intel/vulkan/meson.build b/src/intel/vulkan/meson.build
index 686438064e3..d3d72d5a15a 100644
--- a/src/intel/vulkan/meson.build
+++ b/src/intel/vulkan/meson.build
@@ -58,7 +58,7 @@ anv_extensions_h = custom_target(
 
 intel_icd = custom_target(
   'intel_icd',
-  input : ['anv_icd.py', vk_api_xml],
+  input : [vk_icd_gen, vk_api_xml],
   output : 'intel_icd.@[email protected]'.format(host_machine.cpu()),
   command : [
     prog_python, '@INPUT0@',
diff --git a/src/vulkan/util/meson.build b/src/vulkan/util/meson.build
index 842c61675e7..20cc6052954 100644
--- a/src/vulkan/util/meson.build
+++ b/src/vulkan/util/meson.build
@@ -20,6 +20,7 @@
 
 vk_entrypoints_gen = files('vk_entrypoints_gen.py')
 vk_extensions_gen = files('vk_extensions_gen.py')
+vk_icd_gen = files('vk_icd_gen.py')
 
 files_vulkan_util = files(
   'vk_alloc.h',
diff --git a/src/intel/vulkan/anv_icd.py b/src/vulkan/util/vk_icd_gen.py
similarity index 100%
rename from src/intel/vulkan/anv_icd.py
rename to src/vulkan/util/vk_icd_gen.py

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to