[Impeller] Apply binding base correction to all shader variants. (#40854)
[Impeller] Apply binding base correction to all shader variants.
diff --git a/impeller/compiler/compiler.cc b/impeller/compiler/compiler.cc
index 63c1323..cc235ab 100644
--- a/impeller/compiler/compiler.cc
+++ b/impeller/compiler/compiler.cc
@@ -463,10 +463,7 @@
}
spirv_options.SetAutoBindUniforms(true);
- if (source_options.target_platform == TargetPlatform::kVulkan ||
- source_options.target_platform == TargetPlatform::kRuntimeStageVulkan) {
- SetBindingBase(spirv_options);
- }
+ SetBindingBase(spirv_options);
spirv_options.SetAutoMapLocations(true);
std::vector<std::string> included_file_names;