Searched refs:kCounts (Results 1 – 1 of 1) sorted by relevance
/external/skia/include/gpu/ |
D | GrTypesPriv.h | 66 static const int kCounts[] = { -1, 1, 2, 3, 4, -1, -1, -1 }; in GrSLTypeVectorCount() local 67 return kCounts[type]; in GrSLTypeVectorCount() 77 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrSLTypeCount); in GrSLTypeVectorCount() 132 static const int kCounts[] = { 1, 2, 3, 4, 1, 4, 2 }; in GrVertexAttribTypeVectorCount() local 133 return kCounts[type]; in GrVertexAttribTypeVectorCount() 142 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrVertexAttribTypeCount); in GrVertexAttribTypeVectorCount()
|