Index: src/gpu/SkGr.cpp |
diff --git a/src/gpu/SkGr.cpp b/src/gpu/SkGr.cpp |
index bb0ef91a889ba773a94ede580a3a4de48c43551d..26947182f81fa1561113641a68f659e22fd62063 100644 |
--- a/src/gpu/SkGr.cpp |
+++ b/src/gpu/SkGr.cpp |
@@ -655,7 +655,7 @@ static inline bool skpaint_to_grpaint_impl(GrContext* context, |
} |
#ifndef SK_IGNORE_GPU_DITHER |
- if (skPaint.isDither() && grPaint->numColorFragmentProcessors() > 0) { |
+ if (skPaint.isDither() && grPaint->numColorFragmentProcessors() > 0 && !allowSRGBInputs) { |
jvanverth1
2016/06/30 20:21:37
Does allowSRGBInputs include F16? If so, that seem
|
grPaint->addColorFragmentProcessor(GrDitherEffect::Make()); |
} |
#endif |