MCPcopy Create free account
hub / github.com/SaschaWillems/VulkanCapsViewer / queueBitString

Function queueBitString

vulkanResources.h:595–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

toHexStringFunction · 0.85

Tested by

no test coverage detected