Index: src/gpu/vk/GrVkVaryingHandler.h |
diff --git a/src/gpu/vk/GrVkVaryingHandler.h b/src/gpu/vk/GrVkVaryingHandler.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d47194149e5d05be21f02084f5c5b8d03a370bd6 |
--- /dev/null |
+++ b/src/gpu/vk/GrVkVaryingHandler.h |
@@ -0,0 +1,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 GrVkProgramBuilder; |
+ |
+ typedef GrGLSLVaryingHandler INHERITED; |
+}; |
+ |
+#endif |