/external/vulkan-validation-layers/layers/ |
D | vk_format_utils.h | 140 VK_LAYER_EXPORT bool FormatIsDepthOrStencil(VkFormat format); 141 VK_LAYER_EXPORT bool FormatIsDepthAndStencil(VkFormat format); 142 VK_LAYER_EXPORT bool FormatIsDepthOnly(VkFormat format); 143 VK_LAYER_EXPORT bool FormatIsStencilOnly(VkFormat format); 144 VK_LAYER_EXPORT bool FormatIsCompressed_ETC2_EAC(VkFormat format); 145 VK_LAYER_EXPORT bool FormatIsCompressed_ASTC_LDR(VkFormat format); 146 VK_LAYER_EXPORT bool FormatIsCompressed_BC(VkFormat format); 147 VK_LAYER_EXPORT bool FormatIsCompressed_PVRTC(VkFormat format); 148 VK_LAYER_EXPORT bool FormatIsSinglePlane_422(VkFormat format); 149 VK_LAYER_EXPORT bool FormatIsNorm(VkFormat format); [all …]
|
D | vk_format_utils.cpp | 40 const std::map<VkFormat, VULKAN_FORMAT_INFO> vk_format_table = { 282 VK_LAYER_EXPORT bool FormatIsCompressed_ETC2_EAC(VkFormat format) { in FormatIsCompressed_ETC2_EAC() 305 VK_LAYER_EXPORT bool FormatIsCompressed_ASTC_LDR(VkFormat format) { in FormatIsCompressed_ASTC_LDR() 346 VK_LAYER_EXPORT bool FormatIsCompressed_BC(VkFormat format) { in FormatIsCompressed_BC() 375 VK_LAYER_EXPORT bool FormatIsCompressed_PVRTC(VkFormat format) { in FormatIsCompressed_PVRTC() 396 VK_LAYER_EXPORT bool FormatIsSinglePlane_422(VkFormat format) { in FormatIsSinglePlane_422() 417 VK_LAYER_EXPORT bool FormatIsCompressed(VkFormat format) { in FormatIsCompressed() 422 VK_LAYER_EXPORT bool FormatIsPacked(VkFormat format) { in FormatIsPacked() 485 VK_LAYER_EXPORT bool FormatElementIsTexel(VkFormat format) { in FormatElementIsTexel() 494 VK_LAYER_EXPORT bool FormatIsDepthOrStencil(VkFormat format) { in FormatIsDepthOrStencil() [all …]
|
/external/deqp/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 …]
|
D | vktPipelineVertexUtil.cpp | 37 deUint32 getVertexFormatSize (VkFormat format) in getVertexFormatSize() 174 deUint32 getVertexFormatComponentCount (VkFormat format) in getVertexFormatComponentCount() 299 deUint32 getVertexFormatComponentSize (VkFormat format) in getVertexFormatComponentSize() 405 deUint32 getPackedVertexFormatComponentWidth(VkFormat format, deUint32 componentNdx) in getPackedVertexFormatComponentWidth() 502 bool isVertexFormatComponentOrderBGR (VkFormat format) in isVertexFormatComponentOrderBGR() 534 bool isVertexFormatComponentOrderABGR(VkFormat format) in isVertexFormatComponentOrderABGR() 560 bool isVertexFormatComponentOrderARGB(VkFormat format) in isVertexFormatComponentOrderARGB() 580 bool isVertexFormatSint (VkFormat format) in isVertexFormatSint() 610 bool isVertexFormatUint (VkFormat format) in isVertexFormatUint() 641 bool isVertexFormatSfloat (VkFormat format) in isVertexFormatSfloat() [all …]
|
/external/mesa3d/src/freedreno/vulkan/ |
D | vk_format.h | 38 vk_format_description(VkFormat format) in vk_format_description() 47 vk_format_get_blocksize(VkFormat format) in vk_format_get_blocksize() 53 vk_format_get_blockwidth(VkFormat format) in vk_format_get_blockwidth() 59 vk_format_get_blockheight(VkFormat format) in vk_format_get_blockheight() 65 vk_format_is_compressed(VkFormat format) in vk_format_is_compressed() 72 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() 80 vk_format_has_alpha(VkFormat format) in vk_format_has_alpha() 86 vk_format_is_int(VkFormat format) in vk_format_is_int() 92 vk_format_is_uint(VkFormat format) in vk_format_is_uint() 98 vk_format_is_sint(VkFormat format) in vk_format_is_sint() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 37 bool isFloatFormat (VkFormat format); 38 bool isUfloatFormat (VkFormat format); 39 bool isSfloatFormat (VkFormat format); 40 bool isUnormFormat (VkFormat format); 41 bool isSnormFormat (VkFormat format); 42 bool isIntFormat (VkFormat format); 43 bool isUintFormat (VkFormat format); 44 bool isDepthStencilFormat (VkFormat format); 45 bool isCompressedFormat (VkFormat format); 46 bool isSrgbFormat (VkFormat format); [all …]
|
D | vkRayTracingUtil.hpp | 74 std::string getFormatSimpleName (vk::VkFormat format); 78 …ormat (const vk::InstanceInterface &vki, vk::VkPhysicalDevice physicalDevice, vk::VkFormat format); 85 …RaytracedGeometryBase (VkGeometryTypeKHR geometryType, VkFormat vertexFormat, VkIndexType indexT… 90 inline VkFormat getVertexFormat (void) const { return m_vertexFormat; } in getVertexFormat() 109 VkFormat m_vertexFormat; 163 template<typename V> VkFormat vertexFormatFromType (); 164 template<> inline VkFormat vertexFormatFromType<tcu::Vec2> () { return VK_FORMAT_R32G32_… in vertexFormatFromType() 165 template<> inline VkFormat vertexFormatFromType<tcu::Vec3> () { return VK_FORMAT_R32G32B… in vertexFormatFromType() 166 template<> inline VkFormat vertexFormatFromType<tcu::Vec4> () { return VK_FORMAT_R32G32B… in vertexFormatFromType() 167 template<> inline VkFormat vertexFormatFromType<Vec2_16> () { return VK_FORMAT_R16G16_SF… in vertexFormatFromType() [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | vk_format.h | 124 VkFormat format; 145 VkFormat plane_formats[3]; 150 const struct vk_format_description *vk_format_description(VkFormat format); 156 vk_format_get_blocksizebits(VkFormat format) in vk_format_get_blocksizebits() 172 vk_format_get_blocksize(VkFormat format) in vk_format_get_blocksize() 187 vk_format_get_blockwidth(VkFormat format) in vk_format_get_blockwidth() 200 vk_format_get_blockheight(VkFormat format) in vk_format_get_blockheight() 217 vk_format_get_first_non_void_channel(VkFormat format) in vk_format_get_first_non_void_channel() 244 vk_format_aspects(VkFormat format) in vk_format_aspects() 316 vk_format_is_compressed(VkFormat format) in vk_format_is_compressed() [all …]
|
/external/mesa3d/src/broadcom/vulkan/ |
D | vk_format_info.h | 34 vk_format_aspects(VkFormat format) in vk_format_aspects() 86 vk_format_is_color(VkFormat format) in vk_format_is_color() 93 vk_format_is_int(VkFormat format) in vk_format_is_int() 99 vk_format_is_sint(VkFormat format) in vk_format_is_sint() 105 vk_format_is_uint(VkFormat format) in vk_format_is_uint() 111 vk_format_is_srgb(VkFormat format) in vk_format_is_srgb() 117 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() 124 vk_format_has_depth(VkFormat format) in vk_format_has_depth() 131 vk_format_has_stencil(VkFormat format) in vk_format_has_stencil() 138 vk_format_get_blocksize(VkFormat format) in vk_format_get_blocksize() [all …]
|
/external/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 | 92 static FormatCompatibilityClass format_compatibility_class(VkFormat format) { in format_compatibility_class() 135 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage() 136 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyImage() 150 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() 151 bool dstHasYcbcr, VkFormat srcFormat, int srcSampleCnt, in canCopyAsBlit() 173 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve() 174 VkFormat srcFormat, int srcSampleCnt, bool srcHasYcbcr) const { in canCopyAsResolve() 257 VkFormat dstFormat, srcFormat; in onCanCopySurface() 733 VkFormat format) { in stencil_format_supported() 751 static bool format_is_srgb(VkFormat format) { in format_is_srgb() [all …]
|
D | GrVkUtil.h | 46 bool GrVkFormatIsSupported(VkFormat); 48 static constexpr uint32_t GrVkFormatChannels(VkFormat vkFormat) { in GrVkFormatChannels() 77 static constexpr size_t GrVkFormatBytesPerBlock(VkFormat vkFormat) { in GrVkFormatBytesPerBlock() 112 static constexpr int GrVkFormatStencilBits(VkFormat format) { in GrVkFormatStencilBits() 125 bool GrVkFormatNeedsYcbcrSampler(VkFormat format); 147 bool GrVkFormatIsCompressed(VkFormat); 150 static constexpr const char* GrVkFormatToStr(VkFormat vkFormat) { in GrVkFormatToStr()
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.hpp | 84 vk::VkFormat format; 110 vk::VkFormat format, 119 vk::VkFormat format, 138 bool isFormatSupportedForDevice(Context& context, vk::VkFormat format); 150 std::string getFormatNameForGLSL (vk::VkFormat format); 152 std::string getAdditionalExtensionForFormat (vk::VkFormat format); 154 const std::vector<vk::VkFormat> getAllFormats (); 156 bool isFormatSigned (vk::VkFormat format); 157 bool isFormatUnsigned (vk::VkFormat format); 158 bool isFormatFloat (vk::VkFormat format); [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
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, …
|
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() 316 const VkFormat colorFormat, 320 const VkFormat dsFormat); 327 const VkFormat colorFormat, [all …]
|
/external/deqp/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 …m (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format = vk::VK_F… 95 vk::VkFormat format, 174 bool isYChromaSubsampled (vk::VkFormat format); 176 bool isXChromaSubsampled (vk::VkFormat format); 178 bool areLsb6BitsDontCare (vk::VkFormat srcFormat, [all …]
|
D | vktYCbCrCopyTests.cpp | 65 ImageConfig (vk::VkFormat format_, in ImageConfig() 76 vk::VkFormat format; 141 vk::VkFormat format, in createImage() 169 bool isCompatible (vk::VkFormat srcFormat, in isCompatible() 170 vk::VkFormat dstFormat) in isCompatible() 176 const vk::VkFormat class8Bit[] = in isCompatible() 187 const vk::VkFormat class16Bit[] = in isCompatible() 213 const vk::VkFormat class24Bit[] = in isCompatible() 230 const vk::VkFormat class32Bit[] = in isCompatible() 280 const vk::VkFormat class48Bit[] = in isCompatible() [all …]
|
/external/deqp/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); 162 const vk::VkFormat inputFormat, 163 const vk::VkFormat colorFormat); [all …]
|
D | vktImageLoadStoreUtil.hpp | 49 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 flo… in colorScaleAndBiasAreValid() 71 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize); 73 vk::VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const vk::VkFormat format, c…
|
D | vktImageTranscodingSupportTests.cpp | 96 VkFormat featuredFormat; 97 VkFormat featurelessFormat; 100 const VkFormat* compatibleFormats; 115 const VkFormat format = VK_FORMAT_UNDEFINED); 139 void BasicTranscodingTestInstance::generateData (deUint8* toFill, size_t size, const VkFormat forma… in generateData() 266 VkImageCreateInfo makeCreateImageInfo (const VkFormat format, 272 VkDeviceSize getUncompressedImageData (const VkFormat format, 312 …const VkFormat srcFormat = (m_parameters.operation == OPERATION_ATTACHMENT_READ) ? m_par… in transcode() 326 …const VkFormat dstFormat = (m_parameters.operation == OPERATION_ATTACHMENT_READ) ? m_par… in transcode() 447 VkImageCreateInfo GraphicsAttachmentsTestInstance::makeCreateImageInfo (const VkFormat format, in makeCreateImageInfo() [all …]
|
/external/swiftshader/src/Vulkan/ |
D | VkFormat.hpp | 28 Format(VkFormat format) in Format() 31 inline operator VkFormat() const { return format; } in operator VkFormat() 49 VkFormat getDecompressedFormat() const; 72 static uint8_t mapTo8bit(VkFormat format); 75 VkFormat compatibleFormat() const; 78 VkFormat format = VK_FORMAT_UNDEFINED;
|
/external/mesa3d/src/intel/vulkan/ |
D | vk_format_info.h | 40 static inline VkFormat 96 vk_format_aspects(VkFormat format) in vk_format_aspects() 148 vk_format_is_color(VkFormat format) in vk_format_is_color() 154 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() 161 vk_format_has_depth(VkFormat format) in vk_format_has_depth() 168 vk_format_has_stencil(VkFormat format) in vk_format_has_stencil()
|
/external/angle/src/tests/test_utils/ |
D | VulkanExternalHelper.h | 30 bool canCreateImageExternal(VkFormat format, 36 VkResult createImage2DExternal(VkFormat format, 46 bool canCreateImageOpaqueFd(VkFormat format, 51 VkResult createImage2DOpaqueFd(VkFormat format, 61 bool canCreateImageZirconVmo(VkFormat format, 66 VkResult createImage2DZirconVmo(VkFormat format, 107 VkFormat srcImageFormat,
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesShaderIntrinsicsSampled.hpp | 41 const vk::VkFormat format) in SparseShaderIntrinsicsCaseSampledBase() 61 const vk::VkFormat format) in SparseShaderIntrinsicsCaseSampledExplicit() 75 const vk::VkFormat format) in SparseCaseOpImageSparseSampleExplicitLod() 93 const vk::VkFormat format) in SparseShaderIntrinsicsCaseSampledImplicit() 107 const vk::VkFormat format) in SparseCaseOpImageSparseSampleImplicitLod() 125 const vk::VkFormat format) in SparseCaseOpImageSparseGather()
|
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/ |
D | vktDescriptorSetsIndexingTests.hpp | 68 VkFormat format; 80 VkFormat format_, 135 VkFormat format, 151 VkFormat colorFormat, 160 VkFormat colorFormat, 172 VkFormat imageFormat, 183 VkFormat imageFormat, 235 template<VkFormat _Format> struct VkFormatName 237 static const VkFormat value = _Format; 247 template<VkFormat _Format> struct mapVkFormat2Type;
|