aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/vk/GrVkVaryingHandler.h
blob: cebf455914dcddb4b8819b04068602289c37a7a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/

#ifndef GrVkVaryingHandler_DEFINED
#define GrVkVaryingHandler_DEFINED

#include "glsl/GrGLSLVarying.h"

class GrVkVaryingHandler : public GrGLSLVaryingHandler {
public:
    GrVkVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {}

    typedef GrGLSLVaryingHandler::VarArray VarArray;

private:
    void onFinalize() override;

    friend class GrVkPipelineStateBuilder;

    typedef GrGLSLVaryingHandler INHERITED;
};

#endif