Home
last modified time | relevance | path

Searched defs:EnumTraits (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/vulkan/vkjson/
Dvkjson.cc50 template <> struct EnumTraits<VkPhysicalDeviceType> { struct
51 static uint32_t min() { return VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE; } in min()
52 static uint32_t max() { return VK_PHYSICAL_DEVICE_TYPE_END_RANGE; } in max()
53 static bool exist(uint32_t e) { return e >= min() && e <= max(); } in exist()
56 template <> struct EnumTraits<VkFormat> { struct
57 static bool exist(uint32_t e) { in exist()
293 struct EnumTraits<VkPointClippingBehavior> { struct
294 static uint32_t min() { return VK_POINT_CLIPPING_BEHAVIOR_BEGIN_RANGE; } in min()
295 static uint32_t max() { return VK_POINT_CLIPPING_BEHAVIOR_END_RANGE; } in max()
296 static bool exist(uint32_t e) { return e >= min() && e <= max(); } in exist()
[all …]