Add Webgpu backend (#2132)

* WebGPU first draft (shaderc bin version 8)

* WebGPU scripts
This commit is contained in:
Hugo Amnov
2020-05-08 17:53:53 +02:00
committed by GitHub
parent ee96333452
commit b62302631e
36 changed files with 14929 additions and 24 deletions

View File

@@ -1371,6 +1371,11 @@ public static partial class bgfx
/// </summary>
Vulkan,
/// <summary>
/// WebGPU
/// </summary>
WebGPU,
Count
}

View File

@@ -435,6 +435,7 @@ enum bgfx_renderer_type_t
BGFX_RENDERER_TYPE_OPENGLES, /// OpenGL ES 2.0+
BGFX_RENDERER_TYPE_OPENGL, /// OpenGL 2.1+
BGFX_RENDERER_TYPE_VULKAN, /// Vulkan
BGFX_RENDERER_TYPE_WEBGPU, /// WebGPU
BGFX_RENDERER_TYPE_COUNT
}