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

Issue 2405383003: added basic dataflow analysis to skslc (Closed)

Created:
4 years, 2 months ago by ethannicholas
Modified:
4 years, 2 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 : various fixes #

Total comments: 28

Patch Set 3 : updated for Ben's feedback #

Total comments: 2

Patch Set 4 : derp #

Total comments: 1

Patch Set 5 : I have no idea what I was thinking #

Unified diffs Side-by-side diffs Delta from patch set Stats (+784 lines, -159 lines) Patch
M gyp/skia_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M src/gpu/effects/GrBitmapTextGeoProc.cpp View 1 chunk +9 lines, -7 lines 0 comments Download
M src/gpu/effects/GrXfermodeFragmentProcessor.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/sksl/README View 1 2 1 chunk +1 line, -2 lines 0 comments Download
A src/sksl/SkSLCFGGenerator.h View 1 2 1 chunk +90 lines, -0 lines 0 comments Download
A src/sksl/SkSLCFGGenerator.cpp View 1 2 3 4 1 chunk +343 lines, -0 lines 0 comments Download
M src/sksl/SkSLCompiler.h View 2 chunks +11 lines, -0 lines 0 comments Download
M src/sksl/SkSLCompiler.cpp View 1 2 3 4 chunks +178 lines, -2 lines 0 comments Download
M src/sksl/SkSLContext.h View 1 3 chunks +21 lines, -1 line 0 comments Download
M src/sksl/SkSLGLSLCodeGenerator.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/sksl/SkSLIRGenerator.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/sksl/SkSLIRGenerator.cpp View 1 2 6 chunks +51 lines, -15 lines 0 comments Download
M src/sksl/SkSLParser.cpp View 1 2 chunks +2 lines, -1 line 0 comments Download
M src/sksl/SkSLSPIRVCodeGenerator.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/sksl/SkSLSPIRVCodeGenerator.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/sksl/ir/SkSLExpression.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/sksl/ir/SkSLIndexExpression.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/sksl/ir/SkSLInterfaceBlock.h View 1 chunk +1 line, -1 line 0 comments Download
D src/sksl/ir/SkSLVarDeclaration.h View 1 chunk +0 lines, -83 lines 0 comments Download
D src/sksl/ir/SkSLVarDeclarationStatement.h View 1 chunk +0 lines, -35 lines 0 comments Download
A + src/sksl/ir/SkSLVarDeclarations.h View 0 chunks +-1 lines, --1 lines 0 comments Download
A + src/sksl/ir/SkSLVarDeclarationsStatement.h View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/PrimitiveProcessorTest.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
M tests/SkSLErrorTest.cpp View 1 2 3 4 2 chunks +55 lines, -1 line 0 comments Download

Messages

Total messages: 23 (14 generated)
ethannicholas
4 years, 2 months ago (2016-10-12 20:28:37 UTC) #3
dogben
Adding bsalomon for tests/PrimitiveProcessorTest.cpp and src/gpu/effects/*, because I don't understand what that's about. https://codereview.chromium.org/2405383003/diff/20001/src/sksl/SkSLCFGGenerator.cpp File ...
4 years, 2 months ago (2016-10-13 03:55:43 UTC) #5
bsalomon
On 2016/10/13 03:55:43, dogben wrote: > Adding bsalomon for tests/PrimitiveProcessorTest.cpp and src/gpu/effects/*, > because I ...
4 years, 2 months ago (2016-10-13 13:49:41 UTC) #6
ethannicholas
https://codereview.chromium.org/2405383003/diff/20001/src/sksl/SkSLCFGGenerator.cpp File src/sksl/SkSLCFGGenerator.cpp (right): https://codereview.chromium.org/2405383003/diff/20001/src/sksl/SkSLCFGGenerator.cpp#newcode44 src/sksl/SkSLCFGGenerator.cpp:44: if (from == 0 || fBlocks[from].fEntrances.size()) { On 2016/10/13 ...
4 years, 2 months ago (2016-10-13 17:41:28 UTC) #7
dogben
https://codereview.chromium.org/2405383003/diff/40001/src/sksl/SkSLCFGGenerator.cpp File src/sksl/SkSLCFGGenerator.cpp (right): https://codereview.chromium.org/2405383003/diff/40001/src/sksl/SkSLCFGGenerator.cpp#newcode240 src/sksl/SkSLCFGGenerator.cpp:240: vd.fValue.get() I'm pretty sure you need this->addExpression(cfg, vd.fValue.get()), because ...
4 years, 2 months ago (2016-10-13 19:12:43 UTC) #14
ethannicholas
https://codereview.chromium.org/2405383003/diff/40001/src/sksl/SkSLCFGGenerator.cpp File src/sksl/SkSLCFGGenerator.cpp (right): https://codereview.chromium.org/2405383003/diff/40001/src/sksl/SkSLCFGGenerator.cpp#newcode240 src/sksl/SkSLCFGGenerator.cpp:240: vd.fValue.get() On 2016/10/13 19:12:43, dogben wrote: > I'm pretty ...
4 years, 2 months ago (2016-10-13 19:42:06 UTC) #17
dogben
lgtm
4 years, 2 months ago (2016-10-13 19:53:01 UTC) #18
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/2405383003/80001
4 years, 2 months ago (2016-10-13 19:53:46 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 20:25:38 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/22f939e849013b7fc51374c289b5bf37e63dfdb1

Powered by Google App Engine
This is Rietveld 408576698