| 610 | } |
| 611 | |
| 612 | inline std::string subgroupFeatureBitString(const VkSubgroupFeatureFlagBits subgroupBit) |
| 613 | { |
| 614 | switch (subgroupBit) { |
| 615 | #define STR(r) case VK_SUBGROUP_FEATURE_##r: return #r |
| 616 | STR(BASIC_BIT); |
| 617 | STR(VOTE_BIT); |
| 618 | STR(ARITHMETIC_BIT); |
| 619 | STR(BALLOT_BIT); |
| 620 | STR(SHUFFLE_BIT); |
| 621 | STR(SHUFFLE_RELATIVE_BIT); |
| 622 | STR(CLUSTERED_BIT); |
| 623 | STR(QUAD_BIT); |
| 624 | STR(PARTITIONED_BIT_NV); |
| 625 | STR(ROTATE_BIT); |
| 626 | STR(ROTATE_CLUSTERED_BIT); |
| 627 | #undef STR |
| 628 | default: return "UNKNOWN_FLAG (" + toHexString(subgroupBit) + ")"; |
| 629 | }; |
| 630 | } |
| 631 | |
| 632 | inline std::string shaderStagesBitString(const VkShaderStageFlagBits stageBit) |
| 633 | { |
nothing calls this directly
no test coverage detected