/third_party/mesa3d/src/vulkan/util/ |
D | vk_format.h | 37 vk_format_to_pipe_format(enum VkFormat vkformat); 40 vk_format_aspects(VkFormat format); 43 vk_format_is_color(VkFormat format) in vk_format_is_color() 49 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() 56 vk_format_has_depth(VkFormat format) in vk_format_has_depth() 63 vk_format_has_stencil(VkFormat format) in vk_format_has_stencil() 69 static inline VkFormat 70 vk_format_depth_only(VkFormat format) in vk_format_depth_only() 85 static inline VkFormat 86 vk_format_stencil_only(VkFormat format) in vk_format_stencil_only() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineVertexUtil.hpp | 57 deUint32 getVertexFormatSize (vk::VkFormat format); 58 deUint32 getVertexFormatComponentCount (vk::VkFormat format); 59 deUint32 getVertexFormatComponentSize (vk::VkFormat format); 60 deUint32 getPackedVertexFormatComponentWidth (vk::VkFormat format, deUint32 componentNdx); 61 bool isVertexFormatComponentOrderBGR (vk::VkFormat format); 62 bool isVertexFormatComponentOrderABGR (vk::VkFormat format); 63 bool isVertexFormatComponentOrderARGB (vk::VkFormat format); 64 bool isVertexFormatSint (vk::VkFormat format); 65 bool isVertexFormatUint (vk::VkFormat format); 66 bool isVertexFormatSfloat (vk::VkFormat format); [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineVertexUtil.hpp | 57 deUint32 getVertexFormatSize (vk::VkFormat format); 58 deUint32 getVertexFormatComponentCount (vk::VkFormat format); 59 deUint32 getVertexFormatComponentSize (vk::VkFormat format); 60 deUint32 getPackedVertexFormatComponentWidth (vk::VkFormat format, deUint32 componentNdx); 61 bool isVertexFormatComponentOrderBGR (vk::VkFormat format); 62 bool isVertexFormatComponentOrderABGR (vk::VkFormat format); 63 bool isVertexFormatComponentOrderARGB (vk::VkFormat format); 64 bool isVertexFormatSint (vk::VkFormat format); 65 bool isVertexFormatUint (vk::VkFormat format); 66 bool isVertexFormatSfloat (vk::VkFormat format); [all …]
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 41 bool isFloatFormat (VkFormat format); 42 bool isUfloatFormat (VkFormat format); 43 bool isSfloatFormat (VkFormat format); 44 bool isUnormFormat (VkFormat format); 45 bool isSnormFormat (VkFormat format); 46 bool isIntFormat (VkFormat format); 47 bool isUintFormat (VkFormat format); 48 bool isDepthStencilFormat (VkFormat format); 49 bool isCompressedFormat (VkFormat format); 50 bool isSrgbFormat (VkFormat format); [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkCaps.h | 40 bool isVkFormatTexturable(VkFormat) const; 48 bool isFormatRenderable(VkFormat, int sampleCount) const; 51 int getRenderTargetSampleCount(int requestedCount, VkFormat) const; 54 int maxRenderTargetSampleCount(VkFormat format) const; 62 bool isVkFormatTexturableLinearly(VkFormat format) const { in isVkFormatTexturableLinearly() 66 bool formatCanBeDstofBlit(VkFormat format, bool linearTiled) const { in formatCanBeDstofBlit() 72 bool formatCanBeSrcofBlit(VkFormat format, bool linearTiled) const { in formatCanBeSrcofBlit() 80 GrColorType transferColorType(VkFormat, GrColorType surfaceColorType) const; 99 VkFormat preferredStencilFormat() const { return fPreferredStencilFormat; } in preferredStencilFormat() 102 static int GetStencilFormatTotalBitCount(VkFormat format) { in GetStencilFormatTotalBitCount() [all …]
|
D | GrVkCaps.cpp | 93 static FormatCompatibilityClass format_compatibility_class(VkFormat format) { in format_compatibility_class() 136 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage() 137 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage() 151 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() 152 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() 174 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve() 175 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve() 258 VkFormat dstFormat, srcFormat; in onCanCopySurface() 731 VkFormat format) { in stencil_format_supported() 749 static bool format_is_srgb(VkFormat format) { in format_is_srgb() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.hpp | 97 vk::VkFormat format_, in SSBOData() 126 vk::VkFormat format; 152 vk::VkFormat format, 162 vk::VkFormat format, 181 bool isFormatSupportedForDevice (Context& context, vk::VkFormat format); 193 std::string getFormatNameForGLSL (vk::VkFormat format); 195 std::string getAdditionalExtensionForFormat (vk::VkFormat format); 197 const std::vector<vk::VkFormat> getAllFormats (); 199 bool isFormatSigned (vk::VkFormat format); 200 bool isFormatUnsigned (vk::VkFormat format); [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.hpp | 97 vk::VkFormat format_, in SSBOData() 126 vk::VkFormat format; 152 vk::VkFormat format, 162 vk::VkFormat format, 181 bool isFormatSupportedForDevice (Context& context, vk::VkFormat format); 193 std::string getFormatNameForGLSL (vk::VkFormat format); 195 std::string getAdditionalExtensionForFormat (vk::VkFormat format); 197 const std::vector<vk::VkFormat> getAllFormats (); 199 bool isFormatSigned (vk::VkFormat format); 200 bool isFormatUnsigned (vk::VkFormat format); [all …]
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkCaps.h | 41 bool isVkFormatTexturable(VkFormat) const; 48 bool isFormatRenderable(VkFormat, int sampleCount) const; 51 int getRenderTargetSampleCount(int requestedCount, VkFormat) const; 54 int maxRenderTargetSampleCount(VkFormat format) const; 62 bool isVkFormatTexturableLinearly(VkFormat format) const { in isVkFormatTexturableLinearly() 66 bool formatCanBeDstofBlit(VkFormat format, bool linearTiled) const { in formatCanBeDstofBlit() 72 bool formatCanBeSrcofBlit(VkFormat format, bool linearTiled) const { in formatCanBeSrcofBlit() 149 bool canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, 150 VkFormat srcFormat, int srcSamplecnt, bool srcHasYcbcr) const; 152 bool canCopyAsBlit(VkFormat dstConfig, int dstSampleCnt, bool dstIsLinear, bool dstHasYcbcr, [all …]
|
D | GrVkCaps.cpp | 80 static FormatCompatibilityClass format_compatibility_class(VkFormat format) { in format_compatibility_class() 118 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage() 119 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage() 133 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() 134 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() 156 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve() 157 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve() 230 VkFormat dstFormat, srcFormat; in onCanCopySurface() 592 VkFormat format) { in stencil_format_supported() 620 static bool format_is_srgb(VkFormat format) { in format_is_srgb() [all …]
|
D | GrVkUtil.h | 32 bool GrVkFormatIsSupported(VkFormat); 34 bool GrVkFormatNeedsYcbcrSampler(VkFormat format); 40 bool GrVkFormatColorTypePairIsValid(VkFormat, GrColorType); 60 size_t GrVkBytesPerFormat(VkFormat); 65 bool GrVkFormatIsCompressed(VkFormat); 70 bool GrVkFormatToCompressionType(VkFormat vkFormat, SkImage::CompressionType* compressionType); 73 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.hpp | 60 const char* getGlslInputFormatType (const vk::VkFormat format); 61 const char* getGlslFormatType (const vk::VkFormat format); 62 const char* getGlslAttachmentType (const vk::VkFormat format); 63 const char* getGlslInputAttachmentType (const vk::VkFormat format); 64 bool isPackedType (const vk::VkFormat format); 65 bool isComponentSwizzled (const vk::VkFormat format); 66 int getNumUsedChannels (const vk::VkFormat format); 67 bool isFormatImageLoadStoreCapable (const vk::VkFormat format); 138 const vk::VkFormat inputFormat, 139 const vk::VkFormat colorFormat); [all …]
|
D | vktImageExtendedUsageBitTests.cpp | 43 bool isCompatibleCompressedFormat(VkFormat format0, VkFormat format1) in isCompatibleCompressedFormat() 51 std::map<VkFormat, VkFormat> map = in isCompatibleCompressedFormat() 113 bool isCompatibleFormat(VkFormat format0, VkFormat format1) in isCompatibleFormat() 133 VkFormat imageFormat; 141 …FormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkIma… in getPhysicalDeviceImageFormatProperties() 151 …FormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkIma… in getPhysicalDeviceImageFormatProperties() 172 VkFormat viewFormat; in testExtendedUsageBitCompatiblity() 176 …for (viewFormat = (VkFormat)(VK_FORMAT_UNDEFINED + 1); viewFormat < VK_CORE_FORMAT_LAST; viewForma… in testExtendedUsageBitCompatiblity() 178 if (!isCompatibleFormat((VkFormat)viewFormat, params.imageFormat)) in testExtendedUsageBitCompatiblity() 181 …if (func.getPhysicalDeviceImageFormatProperties(vki, context.getPhysicalDevice(), (VkFormat)viewFo… in testExtendedUsageBitCompatiblity() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
D | vktImageTestsUtil.hpp | 60 const char* getGlslInputFormatType (const vk::VkFormat format); 61 const char* getGlslFormatType (const vk::VkFormat format); 62 const char* getGlslAttachmentType (const vk::VkFormat format); 63 const char* getGlslInputAttachmentType (const vk::VkFormat format); 64 bool isPackedType (const vk::VkFormat format); 65 bool isComponentSwizzled (const vk::VkFormat format); 66 int getNumUsedChannels (const vk::VkFormat format); 67 bool isFormatImageLoadStoreCapable (const vk::VkFormat format); 138 const vk::VkFormat inputFormat, 139 const vk::VkFormat colorFormat); [all …]
|
D | vktImageExtendedUsageBitTests.cpp | 43 bool isCompatibleCompressedFormat(VkFormat format0, VkFormat format1) in isCompatibleCompressedFormat() 51 std::map<VkFormat, VkFormat> map = in isCompatibleCompressedFormat() 113 bool isCompatibleFormat(VkFormat format0, VkFormat format1) in isCompatibleFormat() 133 VkFormat imageFormat; 141 …FormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkIma… in getPhysicalDeviceImageFormatProperties() 151 …FormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkIma… in getPhysicalDeviceImageFormatProperties() 172 VkFormat viewFormat; in testExtendedUsageBitCompatiblity() 176 …for (viewFormat = (VkFormat)(VK_FORMAT_UNDEFINED + 1); viewFormat < VK_CORE_FORMAT_LAST; viewForma… in testExtendedUsageBitCompatiblity() 178 if (!isCompatibleFormat((VkFormat)viewFormat, params.imageFormat)) in testExtendedUsageBitCompatiblity() 181 …if (func.getPhysicalDeviceImageFormatProperties(vki, context.getPhysicalDevice(), (VkFormat)viewFo… in testExtendedUsageBitCompatiblity() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderUtil.cpp | 65 VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat) in getStencilBufferFormat() 68 …const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::Textu… in getStencilBufferFormat() 75 VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat) in getDepthBufferFormat() 77 VkFormat result = VK_FORMAT_UNDEFINED; in getDepthBufferFormat() 112 …reateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkI… in makeImageCreateInfo() 161 const VkFormat colorFormat, in makeRenderPass() 165 const VkFormat dsFormat) in makeRenderPass() 318 const VkFormat colorFormat, 322 const VkFormat dsFormat); 329 const VkFormat colorFormat, [all …]
|
D | vktMultiViewRenderUtil.hpp | 37 vk::VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat); 38 vk::VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat); 39 …onst vk::VkImageType imageType, const vk::VkExtent3D& extent, const vk::VkFormat format, const vk:… 43 …VkFormat colorFormat, const std::vector<deUint32>& viewMasks, const vk::VkSampleCountFlagBits samp… 46 …ts (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, cons… 49 …onst vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, …
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/ |
D | vktMultiViewRenderUtil.cpp | 65 VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat) in getStencilBufferFormat() 68 …const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::Textu… in getStencilBufferFormat() 75 VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat) in getDepthBufferFormat() 77 VkFormat result = VK_FORMAT_UNDEFINED; in getDepthBufferFormat() 112 …reateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkI… in makeImageCreateInfo() 161 const VkFormat colorFormat, in makeRenderPass() 165 const VkFormat dsFormat) in makeRenderPass() 318 const VkFormat colorFormat, 322 const VkFormat dsFormat); 329 const VkFormat colorFormat, [all …]
|
D | vktMultiViewRenderUtil.hpp | 37 vk::VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat); 38 vk::VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat); 39 …onst vk::VkImageType imageType, const vk::VkExtent3D& extent, const vk::VkFormat format, const vk:… 43 …VkFormat colorFormat, const std::vector<deUint32>& viewMasks, const vk::VkSampleCountFlagBits samp… 46 …ts (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, cons… 49 …onst vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, …
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
D | vktYCbCrUtil.hpp | 52 #define VK_YCBCR_FORMAT_LAST ((vk::VkFormat)(VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM+1)) 60 MultiPlaneImageData (vk::VkFormat format, const tcu::UVec2& size); 64 vk::VkFormat getFormat (void) const { return m_format; } in getFormat() 78 const vk::VkFormat m_format; 85 void checkImageSupport (Context& context, vk::VkFormat format, vk::VkImageCreateFlags cr… 87 …domNoNaN (de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat format); 88 …m (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format = vk::VK_F… 96 vk::VkFormat format, 175 bool isYChromaSubsampled (vk::VkFormat format); 177 bool isXChromaSubsampled (vk::VkFormat format); [all …]
|
D | vktYCbCrCopyTests.cpp | 65 ImageConfig (vk::VkFormat format_, in ImageConfig() 76 vk::VkFormat format; 145 vk::VkFormat format, in createImage() 173 bool isCompatible (vk::VkFormat srcFormat, in isCompatible() 174 vk::VkFormat dstFormat) in isCompatible() 180 const vk::VkFormat class8Bit[] = in isCompatible() 191 const vk::VkFormat class16Bit[] = in isCompatible() 217 const vk::VkFormat class24Bit[] = in isCompatible() 234 const vk::VkFormat class32Bit[] = in isCompatible() 284 const vk::VkFormat class48Bit[] = in isCompatible() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrUtil.hpp | 52 #define VK_YCBCR_FORMAT_LAST ((vk::VkFormat)(VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM+1)) 60 MultiPlaneImageData (vk::VkFormat format, const tcu::UVec2& size); 64 vk::VkFormat getFormat (void) const { return m_format; } in getFormat() 78 const vk::VkFormat m_format; 85 void checkImageSupport (Context& context, vk::VkFormat format, vk::VkImageCreateFlags cr… 87 …domNoNaN (de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat format); 88 …m (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format = vk::VK_F… 96 vk::VkFormat format, 175 bool isYChromaSubsampled (vk::VkFormat format); 177 bool isXChromaSubsampled (vk::VkFormat format); [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkFormat.hpp | 28 Format(VkFormat format) in Format() 31 inline operator VkFormat() const { return format; } in operator VkFormat() 42 VkFormat getClearFormat() const; 51 VkFormat getDecompressedFormat() const; 76 static uint8_t mapTo8bit(VkFormat format); 77 static VkFormat mapFrom8bit(uint8_t format); 80 VkFormat compatibleFormat() const; 83 VkFormat format = VK_FORMAT_UNDEFINED;
|
/third_party/mesa3d/src/amd/vulkan/ |
D | vk_format.h | 40 vk_format_get_first_non_void_channel(VkFormat format) in vk_format_get_first_non_void_channel() 77 vk_format_is_subsampled(VkFormat format) in vk_format_is_subsampled() 82 static inline VkFormat 83 vk_format_no_srgb(VkFormat format) in vk_format_no_srgb() 122 static inline VkFormat 123 vk_to_non_srgb_format(VkFormat format) in vk_to_non_srgb_format() 146 vk_format_get_plane_width(VkFormat format, unsigned plane, unsigned width) in vk_format_get_plane_width() 152 vk_format_get_plane_height(VkFormat format, unsigned plane, unsigned height) in vk_format_get_plane_height()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_format_utils.h | 41 VkFormat vkFormat; 48 VkFormat vkFormat; 91 VkFormat vkImageFormat; 93 VkFormat vkBufferFormat; 139 const VkFormatProperties &GetMandatoryFormatSupport(VkFormat vkFormat); 141 VkImageUsageFlags GetMaximalImageUsageFlags(RendererVk *renderer, VkFormat format); 146 bool HasFullTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat); 148 bool HasNonFilterableTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat); 150 bool HasNonRenderableTextureFormatSupport(RendererVk *renderer, VkFormat vkFormat);
|