Greg Daniel | 164a9f0 | 2016-02-22 09:56:40 -0500 | [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 | |
Mike Klein | c0bd9f9 | 2019-04-23 12:05:21 -0500 | [diff] [blame] | 11 | #include "src/gpu/glsl/GrGLSLVarying.h" |
Greg Daniel | 164a9f0 | 2016-02-22 09:56:40 -0500 | [diff] [blame] | 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 | |
egdaniel | 22281c1 | 2016-03-23 13:49:40 -0700 | [diff] [blame] | 22 | friend class GrVkPipelineStateBuilder; |
Greg Daniel | 164a9f0 | 2016-02-22 09:56:40 -0500 | [diff] [blame] | 23 | |
John Stiles | 7571f9e | 2020-09-02 22:42:33 -0400 | [diff] [blame] | 24 | using INHERITED = GrGLSLVaryingHandler; |
Greg Daniel | 164a9f0 | 2016-02-22 09:56:40 -0500 | [diff] [blame] | 25 | }; |
| 26 | |
egdaniel | 22281c1 | 2016-03-23 13:49:40 -0700 | [diff] [blame] | 27 | #endif |