fix for GrPorterDuffTest valgrind error

BUG=skia:4875
TBR=bsalomon@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1656873002

Review URL: https://codereview.chromium.org/1656873002
This commit is contained in:
ethannicholas 2016-02-01 08:07:39 -08:00 committed by Commit bot
parent 13a9123548
commit 975765c60a

View File

@ -1193,6 +1193,7 @@ DEF_GPUTEST(PorterDuffNoDualSourceBlending, reporter, /*factory*/) {
GrPipelineOptimizations optimizations;
optimizations.fColorPOI.calcWithInitialValues(nullptr, 0, testColors[c], testColorFlags[c],
false);
optimizations.fOverrides.fUsePLSDstRead = false;
for (int f = 0; f <= 1; f++) {
if (!f) {
optimizations.fCoveragePOI.calcWithInitialValues(nullptr, 0, 0,