Add support for WGSL shaders via Tint

BUG=dawn:405

Change-Id: I7a79a0d7ce58ff995ec1ff917dd427875fb4deaf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/21340
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
Ryan Harrison
2020-05-21 13:42:26 +00:00
committed by Commit Bot service account
parent 214c71769b
commit bd0ad7921d
6 changed files with 131 additions and 10 deletions

View File

@@ -68,6 +68,7 @@ namespace dawn_native { namespace opengl {
}
MaybeError ShaderModule::Initialize() {
DAWN_TRY(InitializeBase());
const std::vector<uint32_t>& spirv = GetSpirv();
std::unique_ptr<spirv_cross::CompilerGLSL> compilerImpl;