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

Issue 2489673002: added constant folding & branch elimination to skslc (Closed)

Created:
4 years, 1 month ago by ethannicholas
Modified:
3 years, 8 months ago
Reviewers:
dogben, bsalomon
CC:
reviews_skia.org
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : minor cleanups #

Total comments: 5

Patch Set 3 : added some clarifying comments #

Patch Set 4 : fixed compile error #

Patch Set 5 : rebased #

Patch Set 6 : fixed comment #

Patch Set 7 : textureProj on rectangle textures now working #

Patch Set 8 : textureProj on rectangle textures now working #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -22 lines) Patch
M src/gpu/gl/GrGLGpu.cpp View 1 2 3 4 5 1 chunk +6 lines, -9 lines 0 comments Download
M src/gpu/glsl/GrGLSLShaderBuilder.cpp View 1 2 3 4 5 1 chunk +1 line, -12 lines 0 comments Download
M src/sksl/SkSLIRGenerator.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/sksl/SkSLIRGenerator.cpp View 1 2 3 4 5 6 2 chunks +35 lines, -0 lines 0 comments Download
M src/sksl/sksl.include View 1 2 3 4 5 6 2 chunks +1 line, -1 line 0 comments Download
M tests/SkSLGLSLTest.cpp View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
ethannicholas
Added constant folding & branch elimination to skslc. I don't expect this to have any ...
4 years, 1 month ago (2016-11-08 21:41:33 UTC) #5
bsalomon
To the extent I understand this, lgtm.
4 years, 1 month ago (2016-11-08 22:17:10 UTC) #6
dogben
lgtm Code LGTM. It would be great to document this feature of SkSL and any ...
4 years, 1 month ago (2016-11-09 15:35:36 UTC) #7
ethannicholas
https://codereview.chromium.org/2489673002/diff/20001/src/sksl/SkSLIRGenerator.cpp File src/sksl/SkSLIRGenerator.cpp (right): https://codereview.chromium.org/2489673002/diff/20001/src/sksl/SkSLIRGenerator.cpp#newcode831 src/sksl/SkSLIRGenerator.cpp:831: int64_t leftVal = ((IntLiteral&) left).fValue; On 2016/11/09 15:35:36, dogben ...
4 years, 1 month ago (2016-11-09 16:36:22 UTC) #8
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/2489673002/40001
4 years, 1 month ago (2016-11-09 16:37:29 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/6136310ee8f43247548bcefcaeca6d43023c10aa
4 years, 1 month ago (2016-11-09 17:09:29 UTC) #13
scroggo
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2494523002/ by scroggo@google.com. ...
4 years, 1 month ago (2016-11-09 20:03:05 UTC) #14
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/2489673002/60001
4 years, 1 month ago (2016-11-09 20:52:53 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 21:26:48 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/08a9211a8492a84e1f4a6899759f8f37ed5aec3e

Powered by Google App Engine
This is Rietveld 408576698