Mesa (main): meson: Update DirectX-Headers dependency to 1.602.0 version with fallback to the wrap

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue May 24 17:01:21 UTC 2022


Module: Mesa
Branch: main
Commit: 4a9e068a6e1336e5c85569df5d051ad0aa0f4098
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4a9e068a6e1336e5c85569df5d051ad0aa0f4098

Author: Sil Vilerino <sivileri at microsoft.com>
Date:   Mon May 23 07:06:58 2022 -0700

meson: Update DirectX-Headers dependency to 1.602.0 version with fallback to the wrap

Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16597>

---

 meson.build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 80115326664..facb16c40b6 100644
--- a/meson.build
+++ b/meson.build
@@ -675,7 +675,9 @@ dep_dxheaders = null_dep
 if with_gallium_d3d12 or with_microsoft_clc or with_microsoft_vk
   dep_dxheaders = dependency('directx-headers', required : false)
   if not dep_dxheaders.found()
-    dep_dxheaders = dependency('DirectX-Headers', fallback : ['DirectX-Headers', 'dep_dxheaders'],
+    dep_dxheaders = dependency('DirectX-Headers',
+      version : '>= 1.602.0',
+      fallback : ['DirectX-Headers', 'dep_dxheaders'],
       required : with_gallium_d3d12 or with_microsoft_vk
     )
   endif



More information about the mesa-commit mailing list