| 25 | //=== VK_VERSION_1_0 === |
| 26 | |
| 27 | VULKAN_HPP_INLINE std::string to_string( FormatFeatureFlags value ) |
| 28 | { |
| 29 | if ( !value ) |
| 30 | return "{}"; |
| 31 | |
| 32 | std::string result; |
| 33 | if ( value & FormatFeatureFlagBits::eSampledImage ) |
| 34 | result += "SampledImage | "; |
| 35 | if ( value & FormatFeatureFlagBits::eStorageImage ) |
| 36 | result += "StorageImage | "; |
| 37 | if ( value & FormatFeatureFlagBits::eStorageImageAtomic ) |
| 38 | result += "StorageImageAtomic | "; |
| 39 | if ( value & FormatFeatureFlagBits::eUniformTexelBuffer ) |
| 40 | result += "UniformTexelBuffer | "; |
| 41 | if ( value & FormatFeatureFlagBits::eStorageTexelBuffer ) |
| 42 | result += "StorageTexelBuffer | "; |
| 43 | if ( value & FormatFeatureFlagBits::eStorageTexelBufferAtomic ) |
| 44 | result += "StorageTexelBufferAtomic | "; |
| 45 | if ( value & FormatFeatureFlagBits::eVertexBuffer ) |
| 46 | result += "VertexBuffer | "; |
| 47 | if ( value & FormatFeatureFlagBits::eColorAttachment ) |
| 48 | result += "ColorAttachment | "; |
| 49 | if ( value & FormatFeatureFlagBits::eColorAttachmentBlend ) |
| 50 | result += "ColorAttachmentBlend | "; |
| 51 | if ( value & FormatFeatureFlagBits::eDepthStencilAttachment ) |
| 52 | result += "DepthStencilAttachment | "; |
| 53 | if ( value & FormatFeatureFlagBits::eBlitSrc ) |
| 54 | result += "BlitSrc | "; |
| 55 | if ( value & FormatFeatureFlagBits::eBlitDst ) |
| 56 | result += "BlitDst | "; |
| 57 | if ( value & FormatFeatureFlagBits::eSampledImageFilterLinear ) |
| 58 | result += "SampledImageFilterLinear | "; |
| 59 | if ( value & FormatFeatureFlagBits::eTransferSrc ) |
| 60 | result += "TransferSrc | "; |
| 61 | if ( value & FormatFeatureFlagBits::eTransferDst ) |
| 62 | result += "TransferDst | "; |
| 63 | if ( value & FormatFeatureFlagBits::eMidpointChromaSamples ) |
| 64 | result += "MidpointChromaSamples | "; |
| 65 | if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionLinearFilter ) |
| 66 | result += "SampledImageYcbcrConversionLinearFilter | "; |
| 67 | if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionSeparateReconstructionFilter ) |
| 68 | result += "SampledImageYcbcrConversionSeparateReconstructionFilter | "; |
| 69 | if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicit ) |
| 70 | result += "SampledImageYcbcrConversionChromaReconstructionExplicit | "; |
| 71 | if ( value & FormatFeatureFlagBits::eSampledImageYcbcrConversionChromaReconstructionExplicitForceable ) |
| 72 | result += "SampledImageYcbcrConversionChromaReconstructionExplicitForceable | "; |
| 73 | if ( value & FormatFeatureFlagBits::eDisjoint ) |
| 74 | result += "Disjoint | "; |
| 75 | if ( value & FormatFeatureFlagBits::eCositedChromaSamples ) |
| 76 | result += "CositedChromaSamples | "; |
| 77 | if ( value & FormatFeatureFlagBits::eSampledImageFilterMinmax ) |
| 78 | result += "SampledImageFilterMinmax | "; |
| 79 | if ( value & FormatFeatureFlagBits::eVideoDecodeOutputKHR ) |
| 80 | result += "VideoDecodeOutputKHR | "; |
| 81 | if ( value & FormatFeatureFlagBits::eVideoDecodeDpbKHR ) |
| 82 | result += "VideoDecodeDpbKHR | "; |
| 83 | if ( value & FormatFeatureFlagBits::eAccelerationStructureVertexBufferKHR ) |
| 84 | result += "AccelerationStructureVertexBufferKHR | "; |