| Index: tests/GpuColorFilterTest.cpp
|
| diff --git a/tests/GpuColorFilterTest.cpp b/tests/GpuColorFilterTest.cpp
|
| index c8f563069fcc247a29bad2f053717d666f12a555..82f5f31b3ea8bf803a210c86d3c5a5fbe590ede4 100644
|
| --- a/tests/GpuColorFilterTest.cpp
|
| +++ b/tests/GpuColorFilterTest.cpp
|
| @@ -100,7 +100,8 @@ static void test_getConstantColorComponents(skiatest::Reporter* reporter, GrCont
|
| SkAutoTUnref<SkColorFilter> cf(SkColorFilter::CreateModeFilter(test.filterColor, test.filterMode));
|
| SkAutoTUnref<GrFragmentProcessor> effect(cf->asFragmentProcessor(grContext));
|
| GrProcessor::InvariantOutput inout;
|
| - inout.setToOther(test.inputComponents, test.inputColor);
|
| + inout.setToOther(test.inputComponents, test.inputColor,
|
| + GrProcessor::InvariantOutput::kWill_ReadInput);
|
| effect->computeInvariantOutput(&inout);
|
|
|
| REPORTER_ASSERT(reporter, filterColor(inout.color(), inout.validFlags()) == test.outputColor);
|
|
|