Searched refs:kGrSLTypeCount (Results 1 – 2 of 2) sorted by relevance
35 static const int kGrSLTypeCount = kLast_GrSLType + 1; variable77 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeVectorCount()94 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kCounts) == kGrSLTypeCount); in GrSLTypeVectorCount()111 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeIsFloatType()127 GR_STATIC_ASSERT(13 == kGrSLTypeCount); in GrSLTypeIsFloatType()132 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeIsIntType()148 GR_STATIC_ASSERT(13 == kGrSLTypeCount); in GrSLTypeIsIntType()189 GR_STATIC_ASSERT(13 == kGrSLTypeCount); in GrSLTypeSize()193 SkASSERT(type >= 0 && type < static_cast<GrSLType>(kGrSLTypeCount)); in GrSLTypeIsSamplerType()
16 static const uint32_t kAlignments[kGrSLTypeCount] = { in grsltype_to_alignment_mask()36 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kAlignments) == kGrSLTypeCount); in grsltype_to_alignment_mask()