Fix validation errors in Animometer's shader

This commit is contained in:
Corentin Wallez
2017-06-05 16:23:18 -04:00
committed by Corentin Wallez
parent 4efaf32d1b
commit ca9af201b5
2 changed files with 3 additions and 2 deletions

View File

@@ -29,6 +29,7 @@ namespace backend {
void ShaderModuleBase::ExtractSpirvInfo(const spirv_cross::Compiler& compiler) {
// TODO(cwallez@chromium.org): make errors here builder-level
// currently errors here do not prevent the shadermodule from being used
const auto& resources = compiler.get_shader_resources();
switch (compiler.get_execution_model()) {