Index: include/gpu/GrTypesPriv.h |
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h |
index 0ff4e5709e4928a7fa69c418c114ad0665ee0c21..83d85612b91b94133700e83b6ffd6b80f1643259 100644 |
--- a/include/gpu/GrTypesPriv.h |
+++ b/include/gpu/GrTypesPriv.h |
@@ -29,6 +29,15 @@ enum GrSLType { |
}; |
static const int kGrSLTypeCount = kLast_GrSLType + 1; |
+enum GrShaderType { |
+ kVertex_GrShaderType, |
+ kGeometry_GrShaderType, |
+ kFragment_GrShaderType, |
+ |
+ kLastkFragment_GrShaderType = kFragment_GrShaderType |
+}; |
+static const int kGrShaderTypeCount = kLastkFragment_GrShaderType + 1; |
+ |
/** |
* Gets the vector size of the SLType. Returns -1 for void, matrices, and samplers. |
*/ |