WebGPU update (#2364)

* Update WebGPU renderer to match new state of API

* Update WebGPU files
This commit is contained in:
Hugo Amnov
2021-01-20 00:18:30 +01:00
committed by GitHub
parent 5a6c1361ce
commit a515dd3c3d
7 changed files with 1226 additions and 606 deletions

View File

@@ -178,7 +178,7 @@ if _OPTIONS["with-webgpu"] then
DAWN_DIR = path.getabsolute(path.join(BGFX_DIR, "../dawn"))
end
if not os.isdir(DAWN_DIR) then
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")