Greg Daniel | 719239c | 2022-04-07 11:20:24 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2016 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef GrVkVaryingHandler_DEFINED |
| 9 | #define GrVkVaryingHandler_DEFINED |
| 10 | |
| 11 | #include "src/gpu/ganesh/glsl/GrGLSLVarying.h" |
| 12 | |
| 13 | class GrVkVaryingHandler : public GrGLSLVaryingHandler { |
| 14 | public: |
| 15 | GrVkVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} |
| 16 | |
| 17 | typedef GrGLSLVaryingHandler::VarArray VarArray; |
| 18 | |
| 19 | private: |
| 20 | void onFinalize() override; |
| 21 | |
| 22 | friend class GrVkPipelineStateBuilder; |
| 23 | |
| 24 | using INHERITED = GrGLSLVaryingHandler; |
| 25 | }; |
| 26 | |
| 27 | #endif |