summaryrefslogtreecommitdiff
path: root/subprojects
diff options
context:
space:
mode:
authorJesse Natalie <jenatali@microsoft.com>2020-11-24 11:54:07 -0800
committerMarge Bot <eric+marge@anholt.net>2020-12-16 16:25:54 +0000
commitbc5f69faee969cf32fdb7cd31b8b12206d82a77e (patch)
tree18405559287388094be0e64df2e1db08f4c41c05 /subprojects
parentc37d8ae82b9d6ad30ebffbc8bf043afa0f5b6cc5 (diff)
downloadmesa-bc5f69faee969cf32fdb7cd31b8b12206d82a77e.tar.gz
d3d12: Use DirectX-Headers wrap for d3d12.h
This does 2 things for us: 1. Allows us to compile-time depend on any features from new headers, instead of having to conditionally compile based on Windows SDK version. 2. Allows us to reference d3d12.h when compiling for non-Windows. Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7937>
Diffstat (limited to 'subprojects')
-rw-r--r--subprojects/DirectX-Headers.wrap5
1 files changed, 5 insertions, 0 deletions
diff --git a/subprojects/DirectX-Headers.wrap b/subprojects/DirectX-Headers.wrap
new file mode 100644
index 00000000000..0c89d9fa30b
--- /dev/null
+++ b/subprojects/DirectX-Headers.wrap
@@ -0,0 +1,5 @@
+[wrap-git]
+directory = DirectX-Headers-1.0
+
+url = https://github.com/microsoft/DirectX-Headers.git
+revision = head