ccpr: Don't require flat interpolation

This requirement should have been removed at the time we switched to

Interpolation::kCanBeFlat.
Bug: skia:
Change-Id: I0b6d548e8a0fa691bb94d8169ba1c1c064f8f61d
Reviewed-on: https://skia-review.googlesource.com/154848
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
Chris Dalton 2018-09-17 09:36:40 -06:00 committed by Skia Commit-Bot
parent 48415e96cf
commit 49ec21d7cc

View File

@ -20,8 +20,8 @@ using PathInstance = GrCCPathProcessor::Instance;
bool GrCoverageCountingPathRenderer::IsSupported(const GrCaps& caps) {
const GrShaderCaps& shaderCaps = *caps.shaderCaps();
return shaderCaps.integerSupport() && shaderCaps.flatInterpolationSupport() &&
caps.instanceAttribSupport() && GrCaps::kNone_MapFlags != caps.mapBufferFlags() &&
return caps.instanceAttribSupport() && shaderCaps.integerSupport() &&
GrCaps::kNone_MapFlags != caps.mapBufferFlags() &&
caps.isConfigTexturable(kAlpha_half_GrPixelConfig) &&
caps.isConfigRenderable(kAlpha_half_GrPixelConfig) &&
caps.isConfigTexturable(kAlpha_8_GrPixelConfig) &&