summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-12-02 23:02:19 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-12-02 23:02:19 +0000
commit01a3ab6119f9b873c5f6f1c9b2d3b3728a2bc177 (patch)
tree946a90c1a4bbc2179ffcf626b5914f46b484e180
parent83cabbcc19bfa542c8f00a5d238ff48cc34a31a1 (diff)
parent4c3137a9d3fe39d09aed664c0405bb219591cc90 (diff)
downloadnative-01a3ab6119f9b873c5f6f1c9b2d3b3728a2bc177.tar.gz
Snap for 5158751 from 4c3137a9d3fe39d09aed664c0405bb219591cc90 to pi-b4s4-release
Change-Id: I51dce7a8ec8295567a96aff28d3eea59951759bd
-rw-r--r--services/surfaceflinger/RenderEngine/ProgramCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/RenderEngine/ProgramCache.cpp b/services/surfaceflinger/RenderEngine/ProgramCache.cpp
index 338d27c2e4..9dc6858566 100644
--- a/services/surfaceflinger/RenderEngine/ProgramCache.cpp
+++ b/services/surfaceflinger/RenderEngine/ProgramCache.cpp
@@ -611,7 +611,7 @@ String8 ProgramCache::generateFragmentShader(const Key& needs) {
fs << "void main(void) {" << indent;
if (needs.isTexturing()) {
- fs << "gl_FragColor = clamp(texture2D(sampler, outTexCoords), 0.0, 1.0);";
+ fs << "gl_FragColor = texture2D(sampler, outTexCoords);";
if (needs.isY410BT2020()) {
fs << "gl_FragColor.rgb = convertY410BT2020(gl_FragColor.rgb);";
}