Index: src/gpu/GrPipeline.cpp |
diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp |
index d8e2e5d98ef28c3e81bc2ce81f4b14359df0edb4..55cbf345a0a4ec6a6541e2f3db78ebfa0e822848 100644 |
--- a/src/gpu/GrPipeline.cpp |
+++ b/src/gpu/GrPipeline.cpp |
@@ -84,6 +84,9 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args, |
if (builder.getDisableOutputConversionToSRGB()) { |
pipeline->fFlags |= kDisableOutputConversionToSRGB_Flag; |
} |
+ if (builder.getAllowSRGBInputs()) { |
+ pipeline->fFlags |= kAllowSRGBInputs_Flag; |
+ } |
int firstColorProcessorIdx = args.fOpts.fColorPOI.firstEffectiveProcessorIndex(); |