diff --git a/engine/src/flutter/impeller/compiler/compiler_backend.cc b/engine/src/flutter/impeller/compiler/compiler_backend.cc index 1df6332498c..d6111c9f232 100644 --- a/engine/src/flutter/impeller/compiler/compiler_backend.cc +++ b/engine/src/flutter/impeller/compiler/compiler_backend.cc @@ -42,7 +42,7 @@ uint32_t CompilerBackend::GetExtendedMSLResourceBinding( } } if (auto compiler = GetGLSLCompiler()) { - return compiler->get_decoration(id, spv::Decoration::DecorationLocation); + return compiler->get_decoration(id, spv::Decoration::DecorationBinding); } const auto kOOBIndex = static_cast(-1); return kOOBIndex;