gpu-dawn: workaround macOS __kernel_ptr_semantics
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
8044556c54
commit
eb9d9d5b85
1 changed files with 3 additions and 0 deletions
|
|
@ -755,6 +755,9 @@ pub fn Sdk(comptime deps: anytype) type {
|
||||||
"-DTINT_BUILD_HLSL_WRITER=1",
|
"-DTINT_BUILD_HLSL_WRITER=1",
|
||||||
"-DTINT_BUILD_GLSL_WRITER=1",
|
"-DTINT_BUILD_GLSL_WRITER=1",
|
||||||
|
|
||||||
|
// MacOS: this must be defined for system-sdk-13.3 and older.
|
||||||
|
"-D__kernel_ptr_semantics",
|
||||||
|
|
||||||
include("libs/dawn/"),
|
include("libs/dawn/"),
|
||||||
include("libs/dawn/include/tint"),
|
include("libs/dawn/include/tint"),
|
||||||
include("libs/dawn/third_party/vulkan-deps/vulkan-tools/src/"),
|
include("libs/dawn/third_party/vulkan-deps/vulkan-tools/src/"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue