Added WebGPU. (#3544)

This commit is contained in:
Branimir Karadžić
2026-01-09 20:09:39 -08:00
committed by GitHub
parent 967f7629b6
commit 868c66e1ed
22 changed files with 7244 additions and 3 deletions

View File

@@ -112,6 +112,7 @@ static bgfx::ShaderHandle loadShader(bx::FileReaderI* _reader, const bx::StringV
case bgfx::RendererType::OpenGL: filePath.join("glsl"); break;
case bgfx::RendererType::OpenGLES: filePath.join("essl"); break;
case bgfx::RendererType::Vulkan: filePath.join("spirv"); break;
case bgfx::RendererType::WebGPU: filePath.join("wgsl"); break;
case bgfx::RendererType::Count:
BX_ASSERT(false, "You should not be here!");