Searched refs:ResourceTypeIndex (Results 1 – 2 of 2) sorted by relevance
84 constexpr size_t ResourceTypeIndex(ResourceType resourceType) in ResourceTypeIndex() function89 constexpr size_t NumResourceTypes = ResourceTypeIndex(ResourceType::Last);171 constexpr size_t ResourceTypeIndex() in ResourceTypeIndex() function
404 ANGLE_TRY_HR(context, hr, kResourceTypeErrors[ResourceTypeIndex<T>()]); in allocate()419 size_t typeIndex = ResourceTypeIndex(resourceType); in incrResource()431 size_t typeIndex = ResourceTypeIndex(resourceType); in decrResource()