Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Issue 2248403003: Fix various issues with framebuffer fetch (Closed)

Created:
4 years, 4 months ago by egdaniel
Modified:
4 years, 4 months ago
Reviewers:
Brian Osman, bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix various issues with framebuffer fetch This CL does two things. First it fixes a bug of ours where when using a custom fbFetch variable (es 3.0 and higher), we sometimes overwrite the out color and then attempt to use it as the dst color later. This is fixed here by using an intermediate variable. Secondly I've added a workaround to an andreno fbFetch where reading from the outColor always returns the original dstColor even if we've overwritten the value. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2248403003 Committed: https://skia.googlesource.com/skia/+/138c26300f2686175f68b5a3528133f5c9edb596

Patch Set 1 #

Patch Set 2 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M src/gpu/gl/GrGLCaps.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLCaps.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLCaps.cpp View 2 chunks +3 lines, -0 lines 0 comments Download
M src/gpu/glsl/GrGLSLFragmentShaderBuilder.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/glsl/GrGLSLFragmentShaderBuilder.cpp View 1 2 chunks +4 lines, -4 lines 0 comments Download
M src/gpu/glsl/GrGLSLXferProcessor.cpp View 3 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 8 (4 generated)
egdaniel
4 years, 4 months ago (2016-08-17 17:07:31 UTC) #3
bsalomon
lgtm
4 years, 4 months ago (2016-08-17 17:28:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2248403003/20001
4 years, 4 months ago (2016-08-17 17:32:47 UTC) #6
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 17:59:03 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/138c26300f2686175f68b5a3528133f5c9edb596

Powered by Google App Engine
This is Rietveld 408576698