Searched refs:kCounts (Results 1 – 1 of 1) sorted by relevance
/external/skia/include/gpu/ |
D | GrTypesPriv.h | 78 static const int kCounts[] = { -1, 1, 2, 3, 4, -1, -1, -1, -1, -1, 1, 1, 1 }; in GrSLTypeVectorCount() local 79 return kCounts[type]; in GrSLTypeVectorCount() 94 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrSLTypeCount); in GrSLTypeVectorCount() 229 static const int kCounts[] = { 1, 2, 3, 4, 1, 4, 2, 1, 1 }; in GrVertexAttribTypeVectorCount() local 230 return kCounts[type]; in GrVertexAttribTypeVectorCount() 241 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrVertexAttribTypeCount); in GrVertexAttribTypeVectorCount()
|