Mesa (main): dzn: add D3D12_IGNORE_SDK_LAYERS define

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 7 20:06:46 UTC 2022


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

Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date:   Fri Mar 25 14:11:44 2022 +0100

dzn: add D3D12_IGNORE_SDK_LAYERS define

Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
Reviewed-by: Louis-Francis Ratté-Boulianne <lfrb at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15790>

---

 src/microsoft/vulkan/dzn_util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/microsoft/vulkan/dzn_util.c b/src/microsoft/vulkan/dzn_util.c
index ef27d824e52..29beab39a9c 100644
--- a/src/microsoft/vulkan/dzn_util.c
+++ b/src/microsoft/vulkan/dzn_util.c
@@ -21,7 +21,9 @@
  * IN THE SOFTWARE.
  */
 
+#define D3D12_IGNORE_SDK_LAYERS
 #include <directx/d3d12.h>
+
 #include <vulkan/vulkan.h>
 
 #include "util/format/u_format.h"



More information about the mesa-commit mailing list