Index: src/gpu/vk/GrVkProgramDataManager.h |
diff --git a/src/gpu/vk/GrVkProgramDataManager.h b/src/gpu/vk/GrVkProgramDataManager.h |
index 800625902a871c7922d48471d3e1c0eff6653ef5..3baef0a7428bbca7a51d2b65a520a60d85558008 100644 |
--- a/src/gpu/vk/GrVkProgramDataManager.h |
+++ b/src/gpu/vk/GrVkProgramDataManager.h |
@@ -33,8 +33,10 @@ public: |
void set4fv(UniformHandle, int arrayCount, const float v[]) const override; |
// matrices are column-major, the first two upload a single matrix, the latter two upload |
// arrayCount matrices into a uniform array. |
+ void setMatrix2f(UniformHandle, const float matrix[]) const override; |
void setMatrix3f(UniformHandle, const float matrix[]) const override; |
void setMatrix4f(UniformHandle, const float matrix[]) const override; |
+ void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; |
void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; |
void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; |
@@ -58,6 +60,9 @@ private: |
); |
}; |
+ template<int N> inline void setMatrices(UniformHandle, int arrayCount, |
+ const float matrices[]) const; |
+ |
uint32_t fVertexUniformSize; |
uint32_t fFragmentUniformSize; |