Home
last modified time | relevance | path

Searched refs:VkFormat (Results 1 - 25 of 956) sorted by relevance

12345678910>>...39

/third_party/mesa3d/src/vulkan/util/
H A Dvk_format.h37 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 forma
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkImageUtil.hpp41 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 isScaledFormat (VkFormat format);
49 bool isDepthStencilFormat (VkFormat format);
50 bool isCompressedFormat (VkFormat forma
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineVertexUtil.hpp57 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 forma
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineVertexUtil.hpp57 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 forma
[all...]
/third_party/skia/src/gpu/vk/
H A DGrVkCaps.h40 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()
79 // write/read data when using a VkFormat with a specified color type.
80 GrColorType transferColorType(VkFormat, GrColorType surfaceColorType) const;
99 VkFormat preferredStencilForma
[all...]
H A DGrVkCaps.cpp94 static FormatCompatibilityClass format_compatibility_class(VkFormat format) { in format_compatibility_class()
138 SK_ABORT("Unsupported VkFormat"); in format_compatibility_class()
142 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage()
143 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage()
157 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit()
158 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit()
180 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve()
181 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve()
264 VkFormat dstFormat, srcFormat; in onCanCopySurface()
744 VkFormat forma in stencil_format_supported()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
H A DvktSubgroupsTestsUtils.hpp97 vk::VkFormat format_, in SSBOData()
126 vk::VkFormat format;
152 vk::VkFormat format,
162 vk::VkFormat format,
183 bool isFormatSupportedForDevice (Context& context, vk::VkFormat format);
195 std::string getFormatNameForGLSL (vk::VkFormat format);
197 std::string getAdditionalExtensionForFormat (vk::VkFormat format);
199 const std::vector<vk::VkFormat> getAllFormats ();
201 bool isFormatSigned (vk::VkFormat format);
202 bool isFormatUnsigned (vk::VkFormat forma
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
H A DvktSubgroupsTestsUtils.hpp97 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 forma
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageTestsUtil.hpp60 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 colorForma
[all...]
H A DvktImageExtendedUsageBitTests.cpp43 bool isCompatibleCompressedFormat(VkFormat format0, VkFormat format1) in isCompatibleCompressedFormat()
46 // update this mapping if VkFormat changes in isCompatibleCompressedFormat()
51 std::map<VkFormat, VkFormat> map = in isCompatibleCompressedFormat()
113 bool isCompatibleFormat(VkFormat format0, VkFormat format1) in isCompatibleFormat()
133 VkFormat imageFormat;
141 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) in getPhysicalDeviceImageFormatProperties()
151 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewForma
[all...]
H A DvktImageLoadStoreUtil.hpp49 inline float computeStoreColorBias (const vk::VkFormat format) in computeStoreColorBias()
54 inline bool isIntegerFormat (const vk::VkFormat format) in isIntegerFormat()
59 inline bool isSignedFormat (const vk::VkFormat format) in isSignedFormat()
64 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const float colorBias) in colorScaleAndBiasAreValid()
71 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize);
73 vk::VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const vk::VkFormat format, const vk::VkImageUsageFlags usage, const vk::VkImageCreateFlags flags, const vk::VkImageTiling tiling = vk::VK_IMAGE_TILING_OPTIMAL);
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageTestsUtil.hpp60 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 colorForma
[all...]
H A DvktImageExtendedUsageBitTests.cpp43 bool isCompatibleCompressedFormat(VkFormat format0, VkFormat format1) in isCompatibleCompressedFormat()
46 // update this mapping if VkFormat changes in isCompatibleCompressedFormat()
51 std::map<VkFormat, VkFormat> map = in isCompatibleCompressedFormat()
113 bool isCompatibleFormat(VkFormat format0, VkFormat format1) in isCompatibleFormat()
133 VkFormat imageFormat;
141 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewFormat, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags) in getPhysicalDeviceImageFormatProperties()
151 virtual VkResult getPhysicalDeviceImageFormatProperties(const InstanceInterface &vki, VkPhysicalDevice device, VkFormat viewForma
[all...]
H A DvktImageLoadStoreUtil.hpp49 inline float computeStoreColorBias (const vk::VkFormat format) in computeStoreColorBias()
54 inline bool isIntegerFormat (const vk::VkFormat format) in isIntegerFormat()
59 inline bool isSignedFormat (const vk::VkFormat format) in isSignedFormat()
64 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const float colorBias) in colorScaleAndBiasAreValid()
71 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize);
73 vk::VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const vk::VkFormat format, const vk::VkImageUsageFlags usage, const vk::VkImageCreateFlags flags, const vk::VkImageTiling tiling = vk::VK_IMAGE_TILING_OPTIMAL);
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
H A DVkFormat.hpp28 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/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderUtil.hpp37 vk::VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat);
38 vk::VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat);
39 vk::VkImageCreateInfo makeImageCreateInfo (const vk::VkImageType imageType, const vk::VkExtent3D& extent, const vk::VkFormat format, const vk::VkImageUsageFlags usage, const vk::VkSampleCountFlagBits samples);
43 vk::Move<vk::VkRenderPass> makeRenderPass (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, const vk::VkSampleCountFlagBits samples, const vk::VkAttachmentLoadOp colorLoadOp, const vk::VkFormat dsFormat);
46 vk::Move<vk::VkRenderPass> makeRenderPassWithAttachments (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, bool useAspects);
49 vk::Move<vk::VkRenderPass> makeRenderPassWithDepth (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, const vk::VkFormat dsForma
[all...]
H A DvktMultiViewRenderUtil.cpp65 VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat) in getStencilBufferFormat()
68 const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::TextureFormat::DS) ? VK_FORMAT_S8_UINT : VK_FORMAT_UNDEFINED; in getStencilBufferFormat()
75 VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat) in getDepthBufferFormat()
77 VkFormat result = VK_FORMAT_UNDEFINED; in getDepthBufferFormat()
112 VkImageCreateInfo makeImageCreateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkImageUsageFlags usage, const VkSampleCountFlagBits samples) in makeImageCreateInfo()
120 format, // VkFormat format; in makeImageCreateInfo()
161 const VkFormat colorFormat, in makeRenderPass()
165 const VkFormat dsForma in makeRenderPass()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/multiview/
H A DvktMultiViewRenderUtil.hpp37 vk::VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat);
38 vk::VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat);
39 vk::VkImageCreateInfo makeImageCreateInfo (const vk::VkImageType imageType, const vk::VkExtent3D& extent, const vk::VkFormat format, const vk::VkImageUsageFlags usage, const vk::VkSampleCountFlagBits samples);
43 vk::Move<vk::VkRenderPass> makeRenderPass (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, const vk::VkSampleCountFlagBits samples, const vk::VkAttachmentLoadOp colorLoadOp, const vk::VkFormat dsFormat);
46 vk::Move<vk::VkRenderPass> makeRenderPassWithAttachments (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, bool useAspects);
49 vk::Move<vk::VkRenderPass> makeRenderPassWithDepth (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, const vk::VkFormat dsForma
[all...]
H A DvktMultiViewRenderUtil.cpp65 VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat) in getStencilBufferFormat()
68 const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::TextureFormat::DS) ? VK_FORMAT_S8_UINT : VK_FORMAT_UNDEFINED; in getStencilBufferFormat()
75 VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat) in getDepthBufferFormat()
77 VkFormat result = VK_FORMAT_UNDEFINED; in getDepthBufferFormat()
112 VkImageCreateInfo makeImageCreateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkImageUsageFlags usage, const VkSampleCountFlagBits samples) in makeImageCreateInfo()
120 format, // VkFormat format; in makeImageCreateInfo()
161 const VkFormat colorFormat, in makeRenderPass()
165 const VkFormat dsForma in makeRenderPass()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
H A DvktYCbCrUtil.hpp52 #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 createFlags, vk::VkImageTiling tiling = vk::VK_IMAGE_TILING_OPTIMAL);
87 void fillRandomNoNaN (de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat format);
88 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format = vk::VK_FORMAT_UNDEFINED, bool noNan = false);
96 vk::VkFormat format,
176 bool isYChromaSubsampled (vk::VkFormat format);
178 bool isXChromaSubsampled (vk::VkFormat forma
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
H A DvktYCbCrUtil.hpp52 #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 createFlags, vk::VkImageTiling tiling = vk::VK_IMAGE_TILING_OPTIMAL);
87 void fillRandomNoNaN (de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat format);
88 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format = vk::VK_FORMAT_UNDEFINED, bool noNan = false);
96 vk::VkFormat format,
175 bool isYChromaSubsampled (vk::VkFormat format);
177 bool isXChromaSubsampled (vk::VkFormat forma
[all...]
H A DvktYCbCrCopyTests.cpp65 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 class48Bi in isCompatible()
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dvk_format.h40 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/skia/third_party/externals/angle2/src/tests/test_utils/
H A DVulkanHelper.h31 bool canCreateImageExternal(VkFormat format,
37 VkResult createImage2DExternal(VkFormat format,
48 bool canCreateImageOpaqueFd(VkFormat format,
53 VkResult createImage2DOpaqueFd(VkFormat format,
64 bool canCreateImageZirconVmo(VkFormat format,
69 VkResult createImage2DZirconVmo(VkFormat format,
111 VkFormat srcImageFormat,
/third_party/ffmpeg/libavutil/
H A Dhwcontext_stub.c25 typedef enum VkFormat VkFormat; typedef
27 const VkFormat *av_vkfmt_from_pixfmt(enum AVPixelFormat p);
30 const VkFormat *av_vkfmt_from_pixfmt(enum AVPixelFormat p) in av_vkfmt_from_pixfmt()

Completed in 13 milliseconds

12345678910>>...39