diff --git a/engine/src/flutter/impeller/compiler/spirv_sksl.cc b/engine/src/flutter/impeller/compiler/spirv_sksl.cc index 2f2d2d4617c..287abf54014 100644 --- a/engine/src/flutter/impeller/compiler/spirv_sksl.cc +++ b/engine/src/flutter/impeller/compiler/spirv_sksl.cc @@ -476,9 +476,8 @@ std::string CompilerSkSL::to_function_args(const TextureFunctionArguments& args, std::string glsl_args = CompilerGLSL::to_function_args(args, p_forward); // SkSL only supports coordinates. All other arguments to texture are // unsupported and will generate invalid SkSL. - if (args.grad_x || args.grad_y || args.lod || args.coffset || args.offset || - args.sample || args.min_lod || args.sparse_texel || args.bias || - args.component) { + if (args.grad_x || args.grad_y || args.lod || args.offset || args.sample || + args.min_lod || args.sparse_texel || args.bias || args.component) { FLUTTER_CROSS_THROW( "Only sampler and position arguments are supported in texture() " "calls.");