Revert "fix issue introduced in f29caf1433e3185df01b4a286d0fc9715ad32ae2"
This reverts commit55a0a03c60
. Reason for revert: Parent CL breaks chrome roll, not fixed by this CL Original change's description: > fix issue introduced inf29caf1433
> where kClamp domain mode is always used. > > Change-Id: I1b5cb2ae262f0a89c1b119150d9f39ed43f5d2f6 > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/254933 > Auto-Submit: Brian Salomon <bsalomon@google.com> > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Brian Salomon <bsalomon@google.com> TBR=bsalomon@google.com,michaelludwig@google.com Change-Id: I2a99e7b0e413edfaba2db36d4b05b211be4a2862 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/c/skia/+/254838 Reviewed-by: Michael Ludwig <michaelludwig@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>
This commit is contained in:
parent
a2b3b9efb8
commit
aee681de8e
@ -255,7 +255,7 @@ std::unique_ptr<GrFragmentProcessor> SkImageShader::asFragmentProcessor(
|
|||||||
bool filterIfDecal =
|
bool filterIfDecal =
|
||||||
GrDomainEffect::DecalFilterFromSamplerFilter(samplerState.filter());
|
GrDomainEffect::DecalFilterFromSamplerFilter(samplerState.filter());
|
||||||
inner = GrDomainEffect::Make(std::move(inner), lmInverse, domain,
|
inner = GrDomainEffect::Make(std::move(inner), lmInverse, domain,
|
||||||
domainX, domainY, filterIfDecal);
|
GrTextureDomain::kClamp_Mode, filterIfDecal);
|
||||||
} else {
|
} else {
|
||||||
inner = GrSimpleTextureEffect::Make(std::move(proxy), srcColorType, lmInverse,
|
inner = GrSimpleTextureEffect::Make(std::move(proxy), srcColorType, lmInverse,
|
||||||
samplerState);
|
samplerState);
|
||||||
|
Loading…
Reference in New Issue
Block a user