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

Side by Side Diff: src/sksl/SkSLSPIRVCodeGenerator.h

Issue 2405383003: added basic dataflow analysis to skslc (Closed)
Patch Set: I have no idea what I was thinking Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/sksl/SkSLParser.cpp ('k') | src/sksl/SkSLSPIRVCodeGenerator.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SKSL_SPIRVCODEGENERATOR 8 #ifndef SKSL_SPIRVCODEGENERATOR
9 #define SKSL_SPIRVCODEGENERATOR 9 #define SKSL_SPIRVCODEGENERATOR
10 10
(...skipping 16 matching lines...) Expand all
27 #include "ir/SkSLFunctionCall.h" 27 #include "ir/SkSLFunctionCall.h"
28 #include "ir/SkSLFunctionDeclaration.h" 28 #include "ir/SkSLFunctionDeclaration.h"
29 #include "ir/SkSLFunctionDefinition.h" 29 #include "ir/SkSLFunctionDefinition.h"
30 #include "ir/SkSLPrefixExpression.h" 30 #include "ir/SkSLPrefixExpression.h"
31 #include "ir/SkSLPostfixExpression.h" 31 #include "ir/SkSLPostfixExpression.h"
32 #include "ir/SkSLProgramElement.h" 32 #include "ir/SkSLProgramElement.h"
33 #include "ir/SkSLReturnStatement.h" 33 #include "ir/SkSLReturnStatement.h"
34 #include "ir/SkSLStatement.h" 34 #include "ir/SkSLStatement.h"
35 #include "ir/SkSLSwizzle.h" 35 #include "ir/SkSLSwizzle.h"
36 #include "ir/SkSLTernaryExpression.h" 36 #include "ir/SkSLTernaryExpression.h"
37 #include "ir/SkSLVarDeclaration.h" 37 #include "ir/SkSLVarDeclarations.h"
38 #include "ir/SkSLVarDeclarationStatement.h" 38 #include "ir/SkSLVarDeclarationsStatement.h"
39 #include "ir/SkSLVariableReference.h" 39 #include "ir/SkSLVariableReference.h"
40 #include "spirv.h" 40 #include "spirv.h"
41 41
42 namespace SkSL { 42 namespace SkSL {
43 43
44 #define kLast_Capability SpvCapabilityMultiViewport 44 #define kLast_Capability SpvCapabilityMultiViewport
45 45
46 /** 46 /**
47 * Converts a Program into a SPIR-V binary. 47 * Converts a Program into a SPIR-V binary.
48 */ 48 */
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 std::stack<SpvId> fBreakTarget; 258 std::stack<SpvId> fBreakTarget;
259 std::stack<SpvId> fContinueTarget; 259 std::stack<SpvId> fContinueTarget;
260 260
261 friend class PointerLValue; 261 friend class PointerLValue;
262 friend class SwizzleLValue; 262 friend class SwizzleLValue;
263 }; 263 };
264 264
265 } 265 }
266 266
267 #endif 267 #endif
OLDNEW
« no previous file with comments | « src/sksl/SkSLParser.cpp ('k') | src/sksl/SkSLSPIRVCodeGenerator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698