From 70f96af0a843fe862abd4c477472bbcd9722e1bf Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Fri, 27 Jan 2023 10:47:56 -0800 Subject: [PATCH] [impellerc] remove coffset usage (#39199) * [impellerc] remove coffset usage * ++ --- impeller/compiler/spirv_sksl.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/impeller/compiler/spirv_sksl.cc b/impeller/compiler/spirv_sksl.cc index 2f2d2d4617cf9..287abf54014f2 100644 --- a/impeller/compiler/spirv_sksl.cc +++ b/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.");