| 227 | } |
| 228 | |
| 229 | bool IsMultiplePlaneAspect(VkImageAspectFlags aspect_mask) { |
| 230 | // If checking for multiple planes, there will already be another check if valid for plane count |
| 231 | constexpr VkImageAspectFlags valid_planes = |
| 232 | VK_IMAGE_ASPECT_PLANE_0_BIT | VK_IMAGE_ASPECT_PLANE_1_BIT | VK_IMAGE_ASPECT_PLANE_2_BIT; |
| 233 | const VkImageAspectFlags planes = aspect_mask & valid_planes; |
| 234 | return planes != 0 && !IsPowerOfTwo(planes); |
| 235 | } |
| 236 | |
| 237 | bool IsAnyPlaneAspect(VkImageAspectFlags aspect_mask) { |
| 238 | constexpr VkImageAspectFlags valid_planes = |
no test coverage detected