adding device selection, buffer creation and pipeline creation to Metal backend

This commit is contained in:
2025-09-07 01:04:15 +02:00
parent 231e8f2687
commit e9f01cf268
27 changed files with 848 additions and 16 deletions

View File

@@ -2,9 +2,12 @@ option("examples", { description = "Build the examples", default = false })
if has_config("examples") then
set_group("Examples")
if not is_plat("wasm") and has_config("vulkan") then
if has_config("vulkan") then
includes("Vulkan/xmake.lua")
end
if has_config("metal") then
includes("Metal/xmake.lua")
end
if has_config("webgpu") then
includes("WebGPU/xmake.lua")
end