Skip to content

Commit

Permalink
[impellerc] remove coffset usage (#39199)
Browse files Browse the repository at this point in the history
* [impellerc] remove coffset usage

* ++
  • Loading branch information
jonahwilliams authored Jan 27, 2023
1 parent ab1eda7 commit 70f96af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions impeller/compiler/spirv_sksl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 70f96af

Please sign in to comment.