/*
* Copyright 2018 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/

#ifndef GrMtlVaryingHandler_DEFINED
#define GrMtlVaryingHandler_DEFINED

#include "src/gpu/ganesh/glsl/GrGLSLVarying.h"

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

    typedef GrGLSLVaryingHandler::VarArray VarArray;

private:
    void onFinalize() override;

    friend class GrMtlPipelineStateBuilder;

    using INHERITED = GrGLSLVaryingHandler;
};

#endif
