| 593 | } |
| 594 | |
| 595 | inline std::string queueBitString(const VkQueueFlagBits queueBit) |
| 596 | { |
| 597 | switch (queueBit) { |
| 598 | #define STR(r) case VK_QUEUE_##r: return #r |
| 599 | STR(GRAPHICS_BIT); |
| 600 | STR(COMPUTE_BIT); |
| 601 | STR(TRANSFER_BIT); |
| 602 | STR(SPARSE_BINDING_BIT); |
| 603 | STR(PROTECTED_BIT); |
| 604 | STR(VIDEO_DECODE_BIT_KHR); |
| 605 | STR(VIDEO_ENCODE_BIT_KHR); |
| 606 | STR(OPTICAL_FLOW_BIT_NV); |
| 607 | #undef STR |
| 608 | default: return "UNKNOWN_FLAG (" + toHexString(queueBit) + ")"; |
| 609 | }; |
| 610 | } |
| 611 | |
| 612 | inline std::string subgroupFeatureBitString(const VkSubgroupFeatureFlagBits subgroupBit) |
| 613 | { |
nothing calls this directly
no test coverage detected