vcpkg/ports/dawn/008-wrong-dxcapi-include.patch

14 lines
531 B
Diff

diff --git a/src/tint/lang/hlsl/validate/validate.cc b/src/tint/lang/hlsl/validate/validate.cc
index 21e6b9c6dc..00cdbfe95c 100644
--- a/src/tint/lang/hlsl/validate/validate.cc
+++ b/src/tint/lang/hlsl/validate/validate.cc
@@ -51,7 +51,7 @@ TINT_BEGIN_DISABLE_ALL_WARNINGS();
// # Use UUID emulation with clang to avoid compiling with ms-extensions
#define __EMULATE_UUID
#endif
-#include "dxc/dxcapi.h"
+#include "dxcapi.h"
TINT_END_DISABLE_ALL_WARNINGS();
// Disable warnings about old-style casts which result from using