mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Removed WebGPU. (#3198)
This commit is contained in:
@@ -50,11 +50,6 @@ newoption {
|
||||
description = "Enable building examples.",
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "with-webgpu",
|
||||
description = "Enable webgpu experimental renderer.",
|
||||
}
|
||||
|
||||
newaction {
|
||||
trigger = "idl",
|
||||
description = "Generate bgfx interface source code",
|
||||
@@ -179,23 +174,6 @@ if not os.isdir(BX_DIR) or not os.isdir(BIMG_DIR) then
|
||||
os.exit()
|
||||
end
|
||||
|
||||
if _OPTIONS["with-webgpu"] then
|
||||
DAWN_DIR = os.getenv("DAWN_DIR")
|
||||
|
||||
if not DAWN_DIR then
|
||||
DAWN_DIR = path.getabsolute(path.join(BGFX_DIR, "../dawn"))
|
||||
end
|
||||
|
||||
if not os.isdir(DAWN_DIR) and "wasm*" ~= _OPTIONS["gcc"] then
|
||||
print("Dawn not found at \"" .. DAWN_DIR .. "\". git clone https://dawn.googlesource.com/dawn?")
|
||||
|
||||
print("For more info see: https://bkaradzic.github.io/bgfx/build.html")
|
||||
os.exit()
|
||||
end
|
||||
|
||||
_OPTIONS["with-windows"] = "10.0"
|
||||
end
|
||||
|
||||
dofile (path.join(BX_DIR, "scripts/toolchain.lua"))
|
||||
if not toolchain(BGFX_BUILD_DIR, BGFX_THIRD_PARTY_DIR) then
|
||||
return -- no action specified
|
||||
@@ -248,10 +226,6 @@ function exampleProjectDefaults()
|
||||
|
||||
using_bx()
|
||||
|
||||
if _OPTIONS["with-webgpu"] then
|
||||
usesWebGPU()
|
||||
end
|
||||
|
||||
if _OPTIONS["with-sdl"] then
|
||||
defines { "ENTRY_CONFIG_USE_SDL=1" }
|
||||
links { "SDL2" }
|
||||
|
||||
Reference in New Issue
Block a user