| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |