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

Side by Side Diff: src/sksl/ir/SkSLInterfaceBlock.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/ir/SkSLIndexExpression.h ('k') | src/sksl/ir/SkSLVarDeclaration.h » ('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_INTERFACEBLOCK 8 #ifndef SKSL_INTERFACEBLOCK
9 #define SKSL_INTERFACEBLOCK 9 #define SKSL_INTERFACEBLOCK
10 10
11 #include "SkSLProgramElement.h" 11 #include "SkSLProgramElement.h"
12 #include "SkSLVarDeclaration.h" 12 #include "SkSLVarDeclarations.h"
13 13
14 namespace SkSL { 14 namespace SkSL {
15 15
16 /** 16 /**
17 * An interface block, as in: 17 * An interface block, as in:
18 * 18 *
19 * out gl_PerVertex { 19 * out gl_PerVertex {
20 * layout(builtin=0) vec4 gl_Position; 20 * layout(builtin=0) vec4 gl_Position;
21 * layout(builtin=1) float gl_PointSize; 21 * layout(builtin=1) float gl_PointSize;
22 * }; 22 * };
(...skipping 19 matching lines...) Expand all
42 42
43 const Variable& fVariable; 43 const Variable& fVariable;
44 const std::shared_ptr<SymbolTable> fTypeOwner; 44 const std::shared_ptr<SymbolTable> fTypeOwner;
45 45
46 typedef ProgramElement INHERITED; 46 typedef ProgramElement INHERITED;
47 }; 47 };
48 48
49 } // namespace 49 } // namespace
50 50
51 #endif 51 #endif
OLDNEW
« no previous file with comments | « src/sksl/ir/SkSLIndexExpression.h ('k') | src/sksl/ir/SkSLVarDeclaration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698