compare kernel in GrBicubicEffect
Change-Id: Ic22cc3bea766c41d7061816ad186cf7504be91ba Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344970 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com>
This commit is contained in:
parent
cdff3fcba6
commit
c3622f43c1
@ -229,7 +229,10 @@ GrGLSLFragmentProcessor* GrBicubicEffect::onCreateGLSLInstance() const { return
|
||||
|
||||
bool GrBicubicEffect::onIsEqual(const GrFragmentProcessor& other) const {
|
||||
const auto& that = other.cast<GrBicubicEffect>();
|
||||
return fDirection == that.fDirection && fClamp == that.fClamp;
|
||||
return fDirection == that.fDirection &&
|
||||
fClamp == that.fClamp &&
|
||||
fKernel.B == that.fKernel.B &&
|
||||
fKernel.C == that.fKernel.C;
|
||||
}
|
||||
|
||||
SkPMColor4f GrBicubicEffect::constantOutputForConstantInput(const SkPMColor4f& input) const {
|
||||
|
Loading…
Reference in New Issue
Block a user