From a65edb581970d054a1033df1a6f8305e2234b27f Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Sat, 1 Apr 2023 11:31:22 -0700 Subject: [PATCH] [Impeller] Apply binding base correction to all shader variants. (flutter/engine#40854) [Impeller] Apply binding base correction to all shader variants. --- engine/src/flutter/impeller/compiler/compiler.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/engine/src/flutter/impeller/compiler/compiler.cc b/engine/src/flutter/impeller/compiler/compiler.cc index 63c1323c2d..cc235abe89 100644 --- a/engine/src/flutter/impeller/compiler/compiler.cc +++ b/engine/src/flutter/impeller/compiler/compiler.cc @@ -463,10 +463,7 @@ Compiler::Compiler(const fml::Mapping& source_mapping, } 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 included_file_names;