Make ShaderModuleBase use its own spirv_cross for reflection.

Bug: dawn:216
Change-Id: Ie79aaeb3a878960606e8c09a4969bf7a1dbe1b13
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/28240
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
This commit is contained in:
Corentin Wallez
2020-09-09 22:44:57 +00:00
committed by Commit Bot service account
parent 97b880e6ff
commit 947201da19
8 changed files with 239 additions and 249 deletions

View File

@@ -95,8 +95,6 @@ namespace dawn_native { namespace opengl {
spirv_cross::CompilerGLSL compiler(spirv);
compiler.set_common_options(options);
DAWN_TRY(ExtractSpirvInfo(compiler));
// Extract bindings names so that it can be used to get its location in program.
// Now translate the separate sampler / textures into combined ones and store their info.
// We need to do this before removing the set and binding decorations.