1 /* 2 * Copyright 2019 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 GrDawnVaryingHandler_DEFINED 9 #define GrDawnVaryingHandler_DEFINED 10 11 #include "src/gpu/glsl/GrGLSLVarying.h" 12 13 class GrDawnVaryingHandler : public GrGLSLVaryingHandler { 14 public: GrDawnVaryingHandler(GrGLSLProgramBuilder * program)15 GrDawnVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} 16 17 typedef GrGLSLVaryingHandler::VarArray VarArray; 18 19 private: 20 void onFinalize() override; 21 22 friend class GrDawnPipelineStateBuilder; 23 24 typedef GrGLSLVaryingHandler INHERITED; 25 }; 26 27 #endif 28