gpu: build Null dawn backend
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
ab87f82382
commit
512da9ae9d
1 changed files with 2 additions and 2 deletions
|
|
@ -142,7 +142,7 @@ fn buildLibDawnNative(b: *Builder, step: *std.build.LibExeObjStep, options: Opti
|
||||||
|
|
||||||
const flags = &.{
|
const flags = &.{
|
||||||
"-DDAWN_ENABLE_BACKEND_METAL",
|
"-DDAWN_ENABLE_BACKEND_METAL",
|
||||||
//"-DDAWN_ENABLE_BACKEND_NULL",
|
"-DDAWN_ENABLE_BACKEND_NULL",
|
||||||
include("libs/dawn/src"),
|
include("libs/dawn/src"),
|
||||||
include("libs/dawn/src/include"),
|
include("libs/dawn/src/include"),
|
||||||
include("libs/dawn/third_party/vulkan-deps/spirv-tools/src/include"),
|
include("libs/dawn/third_party/vulkan-deps/spirv-tools/src/include"),
|
||||||
|
|
@ -1288,7 +1288,7 @@ fn buildLibDawnUtils(b: *Builder, step: *std.build.LibExeObjStep, options: Optio
|
||||||
glfw.link(b, lib, .{ .system_sdk = .{ .set_sysroot = false } });
|
glfw.link(b, lib, .{ .system_sdk = .{ .set_sysroot = false } });
|
||||||
const flags = &.{
|
const flags = &.{
|
||||||
"-DDAWN_ENABLE_BACKEND_METAL",
|
"-DDAWN_ENABLE_BACKEND_METAL",
|
||||||
//"-DDAWN_ENABLE_BACKEND_NULL",
|
"-DDAWN_ENABLE_BACKEND_NULL",
|
||||||
include("libs/mach-glfw/upstream/glfw/include"),
|
include("libs/mach-glfw/upstream/glfw/include"),
|
||||||
include("libs/dawn/src"),
|
include("libs/dawn/src"),
|
||||||
include("libs/dawn/src/include"),
|
include("libs/dawn/src/include"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue