aboutsummaryrefslogtreecommitdiff
path: root/src/core/SkRuntimeEffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/SkRuntimeEffect.cpp')
-rw-r--r--src/core/SkRuntimeEffect.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/SkRuntimeEffect.cpp b/src/core/SkRuntimeEffect.cpp
index 3e5543cad1..1c08fb84d4 100644
--- a/src/core/SkRuntimeEffect.cpp
+++ b/src/core/SkRuntimeEffect.cpp
@@ -1133,13 +1133,16 @@ public:
get_xformed_uniforms(fEffect.get(), fUniforms, args.fDstColorInfo->colorSpace());
SkASSERT(uniforms);
+ // We handle the pre-local matrix at this level so strip it out.
+ GrFPArgs fpArgs = args;
+ fpArgs.fPreLocalMatrix = nullptr;
auto [success, fp] = make_effect_fp(fEffect,
"runtime_shader",
std::move(uniforms),
/*inputFP=*/nullptr,
/*destColorFP=*/nullptr,
SkMakeSpan(fChildren),
- args);
+ fpArgs);
if (!success) {
return nullptr;
}