/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 | 50 deUint32 getVertexFormatSize (vk::VkFormat format); 51 deUint32 getVertexFormatComponentCount (vk::VkFormat format); 52 deUint32 getVertexFormatComponentSize (vk::VkFormat format); 53 deUint32 getPackedVertexFormatComponentWidth (vk::VkFormat format, deUint32 componentNdx); 54 bool isVertexFormatComponentOrderBGR (vk::VkFormat format); 55 bool isVertexFormatComponentOrderABGR (vk::VkFormat format); 56 bool isVertexFormatComponentOrderARGB (vk::VkFormat format); 57 bool isVertexFormatSint (vk::VkFormat format); 58 bool isVertexFormatUint (vk::VkFormat format); 59 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() 500 bool isVertexFormatComponentOrderBGR (VkFormat format) in isVertexFormatComponentOrderBGR() 532 bool isVertexFormatComponentOrderABGR(VkFormat format) in isVertexFormatComponentOrderABGR() 557 bool isVertexFormatComponentOrderARGB(VkFormat format) in isVertexFormatComponentOrderARGB() 576 bool isVertexFormatSint (VkFormat format) in isVertexFormatSint() 606 bool isVertexFormatUint (VkFormat format) in isVertexFormatUint() 637 bool isVertexFormatSfloat (VkFormat format) in isVertexFormatSfloat() [all …]
|
D | vktPipelineSamplerTests.cpp | 59 VkFormat imageFormat, 78 VkFormat m_imageFormat; 92 VkFormat imageFormat, 108 VkFormat imageFormat, 124 VkFormat imageFormat, 144 VkFormat imageFormat, 164 VkFormat imageFormat, 187 VkFormat imageFormat, 211 VkFormat imageFormat, in SamplerTest() 497 VkFormat imageFormat, in SamplerMagFilterTest() [all …]
|
D | vktPipelineDepthTests.cpp | 59 …tencilFormat (const InstanceInterface& instanceInterface, VkPhysicalDevice device, VkFormat format) in isSupportedDepthStencilFormat() 68 tcu::TestStatus testSupportsDepthStencilFormat (Context& context, VkFormat format) in testSupportsDepthStencilFormat() 78 …us testSupportsAtLeastOneDepthStencilFormat (Context& context, const std::vector<VkFormat> formats) in testSupportsAtLeastOneDepthStencilFormat() 87 const VkFormat format = formats[formatNdx]; in testSupportsAtLeastOneDepthStencilFormat() 120 const VkFormat depthFormat, 132 const VkFormat m_depthFormat; 145 const VkFormat depthFormat, 161 const VkFormat m_colorFormat; 162 const VkFormat m_depthFormat; 204 const VkFormat depthFormat, in DepthTest() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.hpp | 37 bool isFloatFormat (VkFormat format); 38 bool isUnormFormat (VkFormat format); 39 bool isSnormFormat (VkFormat format); 40 bool isIntFormat (VkFormat format); 41 bool isUintFormat (VkFormat format); 42 bool isDepthStencilFormat (VkFormat format); 43 bool isCompressedFormat (VkFormat format); 44 bool isSrgbFormat (VkFormat format); 46 bool isSupportedByFramework (VkFormat format); 48 tcu::TextureFormat mapVkFormat (VkFormat format); [all …]
|
/external/swiftshader/src/Device/ |
D | Surface.hpp | 107 VkFormat format; 114 Surface(int width, int height, int depth, VkFormat format, void *pixels, int pitch, int slice); 115 …Surface(Resource *texture, int width, int height, int depth, int border, int samples, VkFormat for… 118 …static Surface *create(int width, int height, int depth, VkFormat format, void *pixels, int pitch,… 119 …ce *texture, int width, int height, int depth, int border, int samples, VkFormat format, bool lock… 129 inline VkFormat getFormat(bool internal = false) const; 137 inline VkFormat getExternalFormat() const; 145 inline VkFormat getInternalFormat() const; 153 inline VkFormat getStencilFormat() const; 194 static int bytes(VkFormat format); [all …]
|
D | Blitter.hpp | 66 VkFormat sourceFormat; 67 VkFormat destFormat; 97 …void clear(void *pixel, VkFormat format, Surface *dest, const SliceRect &dRect, unsigned int rgbaM… 102 …bool fastClear(void *pixel, VkFormat format, Surface *dest, const SliceRect &dRect, unsigned int r… 108 static bool GetScale(float4& scale, VkFormat format);
|
/external/mesa3d/src/amd/vulkan/ |
D | vk_format.h | 119 VkFormat format; 140 const struct vk_format_description *vk_format_description(VkFormat format); 146 vk_format_get_blocksizebits(VkFormat format) in vk_format_get_blocksizebits() 162 vk_format_get_blocksize(VkFormat format) in vk_format_get_blocksize() 177 vk_format_get_blockwidth(VkFormat format) in vk_format_get_blockwidth() 190 vk_format_get_blockheight(VkFormat format) in vk_format_get_blockheight() 207 vk_format_get_first_non_void_channel(VkFormat format) in vk_format_get_first_non_void_channel() 234 vk_format_aspects(VkFormat format) in vk_format_aspects() 306 vk_format_is_compressed(VkFormat format) in vk_format_is_compressed() 343 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.hpp | 59 const char* getGlslInputFormatType (const vk::VkFormat format); 60 const char* getGlslFormatType (const vk::VkFormat format); 61 const char* getGlslAttachmentType (const vk::VkFormat format); 62 const char* getGlslInputAttachmentType (const vk::VkFormat format); 63 bool isPackedType (const vk::VkFormat format); 64 bool isComponentSwizzled (const vk::VkFormat format); 65 int getNumUsedChannels (const vk::VkFormat format); 66 bool isFormatImageLoadStoreCapable (const vk::VkFormat format); 138 const vk::VkFormat inputFormat, 139 const vk::VkFormat colorFormat); [all …]
|
D | vktImageLoadStoreUtil.hpp | 48 inline float computeStoreColorBias (const vk::VkFormat format) in computeStoreColorBias() 53 inline bool isIntegerFormat (const vk::VkFormat format) in isIntegerFormat() 58 inline bool colorScaleAndBiasAreValid (const vk::VkFormat format, const float colorScale, const flo… in colorScaleAndBiasAreValid() 65 float computeStoreColorScale (const vk::VkFormat format, const tcu::IVec3 imageSize); 67 vk::VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const vk::VkFormat format, c… 69 bool isStorageImageExtendedFormat (const vk::VkFormat format);
|
D | vktImageLoadStoreTests.cpp | 98 const VkFormat format, in comparePixelBuffers() 189 …enerateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, const VkFormat rea… in generateReferenceImage() 225 inline tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageF… in generateReferenceImage() 255 inline bool formatsAreCompatible (const VkFormat format0, const VkFormat format1) in formatsAreCompatible() 324 const VkFormat format, 333 const VkFormat m_format; 342 const VkFormat format, in StoreTest() 414 const VkFormat format, 436 const VkFormat m_format; 441 BaseTestInstance::BaseTestInstance (Context& context, const Texture& texture, const VkFormat format… in BaseTestInstance() [all …]
|
D | vktImageTranscodingSupportTests.cpp | 94 VkFormat featuredFormat; 95 VkFormat featurelessFormat; 98 const VkFormat* compatibleFormats; 113 const VkFormat format = VK_FORMAT_UNDEFINED); 123 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 …]
|
D | vktImageTestsUtil.cpp | 288 const VkFormat vertexFormatPosition = VK_FORMAT_R32G32B32A32_SFLOAT; in makeGraphicsPipeline() 376 const VkFormat inputFormat, in makeRenderPass() 377 const VkFormat colorFormat) in makeRenderPass() 486 const VkFormat format, in makeBufferView() 507 const VkFormat format, in makeImageView() 580 tcu::UVec3 getCompressedImageResolutionInBlocks (const vk::VkFormat format, const tcu::UVec3& size) in getCompressedImageResolutionInBlocks() 594 tcu::UVec3 getCompressedImageResolutionBlockCeil (const vk::VkFormat format, const tcu::UVec3& size) in getCompressedImageResolutionBlockCeil() 608 VkDeviceSize getCompressedImageSizeInBytes (const vk::VkFormat format, const tcu::UVec3& size) in getCompressedImageSizeInBytes() 617 VkDeviceSize getUncompressedImageSizeInBytes (const vk::VkFormat format, const tcu::UVec3& size) in getUncompressedImageSizeInBytes() 794 const char* getGlslInputFormatType (const vk::VkFormat format) in getGlslInputFormatType() [all …]
|
D | vktImageSizeTests.cpp | 88 inline VkImageCreateInfo makeImageCreateInfo (const Texture& texture, const VkFormat format) in makeImageCreateInfo() 166 const VkFormat format, 174 const VkFormat m_format; 183 const VkFormat format, in SizeTest() 250 const VkFormat format); 263 const VkFormat m_format; 268 SizeTestInstance::SizeTestInstance (Context& context, const Texture& texture, const VkFormat format) in SizeTestInstance() 354 const VkFormat format); 369 …stInstance::ImageSizeTestInstance (Context& context, const Texture& texture, const VkFormat format) in ImageSizeTestInstance() 430 const VkFormat format); [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)) 57 MultiPlaneImageData (vk::VkFormat format, const tcu::UVec2& size); 61 vk::VkFormat getFormat (void) const { return m_format; } in getFormat() 75 const vk::VkFormat m_format; 82 void checkImageSupport (Context& context, vk::VkFormat format, vk::VkImageCreateFlags cr… 91 vk::VkFormat format, 167 bool isYChromaSubsampled (vk::VkFormat format); 168 bool isXChromaSubsampled (vk::VkFormat format); 169 bool areLsb6BitsDontCare (vk::VkFormat srcFormat, 170 vk::VkFormat dstFormat); [all …]
|
D | vktYCbCrCopyTests.cpp | 66 ImageConfig (vk::VkFormat format_, in ImageConfig() 77 vk::VkFormat format; 152 vk::VkFormat format, in createImage() 180 vk::VkFormat getPlaneCompatibleFormat (vk::VkFormat format, deUint32 planeNdx) in getPlaneCompatibleFormat() 308 bool isCompatible (vk::VkFormat srcFormat, in isCompatible() 309 vk::VkFormat dstFormat) in isCompatible() 315 const vk::VkFormat class8Bit[] = in isCompatible() 326 const vk::VkFormat class16Bit[] = in isCompatible() 352 const vk::VkFormat class24Bit[] = in isCompatible() 369 const vk::VkFormat class32Bit[] = in isCompatible() [all …]
|
/external/deqp/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() 128 …reateInfo (const VkImageType imageType, const VkExtent3D& extent, const VkFormat format, const VkI… in makeImageCreateInfo() 155 const VkFormat format, in makeImageView() 238 const VkFormat colorFormat, in makeRenderPass() 242 const VkFormat dsFormat) in makeRenderPass() 393 const VkFormat colorFormat, 397 const VkFormat dsFormat); [all …]
|
D | vktMultiViewRenderUtil.hpp | 36 vk::VkFormat getStencilBufferFormat (const vk::VkFormat depthStencilImageFormat); 37 vk::VkFormat getDepthBufferFormat (const vk::VkFormat depthStencilImageFormat); 39 …onst vk::VkImageType imageType, const vk::VkExtent3D& extent, const vk::VkFormat format, const vk:… 40 … const vk::VkImage image, const vk::VkImageViewType viewType, const vk::VkFormat format, const vk:… 46 …VkFormat colorFormat, const std::vector<deUint32>& viewMasks, const vk::VkSampleCountFlagBits samp… 49 …ts (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, cons… 52 …onst vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks, …
|
/external/deqp/external/vulkancts/modules/vulkan/subgroups/ |
D | vktSubgroupsTestsUtils.hpp | 83 vk::VkFormat format; 119 bool isDoubleFormat(vk::VkFormat format); 121 std::string getFormatNameForGLSL(vk::VkFormat format); 143 tcu::TestStatus makeTessellationEvaluationFrameBufferTest(Context& context, vk::VkFormat format, 148 tcu::TestStatus makeGeometryFrameBufferTest(Context& context, vk::VkFormat format, SSBOData* extraD… 152 tcu::TestStatus allStages(Context& context, vk::VkFormat format, 157 tcu::TestStatus makeVertexFrameBufferTest(Context& context, vk::VkFormat format, 161 tcu::TestStatus makeFragmentFrameBufferTest(Context& context, vk::VkFormat format, 167 Context& context, vk::VkFormat format, SSBOData* inputs,
|
/external/swiftshader/src/Vulkan/ |
D | VkImage.hpp | 53 VkFormat getFormat() const { return format; } in getFormat() 71 VkFormat getFormat(const VkImageAspectFlags& flags) const; 74 VkFormat getClearFormat() const; 75 …void clear(void* pixelData, VkFormat format, const VkImageSubresourceRange& subresourceRange, VkIm… 76 …void clear(void* pixelData, VkFormat format, const VkRect2D& renderArea, const VkImageSubresourceR… 83 VkFormat format = VK_FORMAT_UNDEFINED;
|
/external/mesa3d/src/intel/vulkan/ |
D | vk_format_info.h | 31 vk_format_aspects(VkFormat format) in vk_format_aspects() 83 vk_format_is_color(VkFormat format) in vk_format_is_color() 89 vk_format_is_depth_or_stencil(VkFormat format) in vk_format_is_depth_or_stencil() 96 vk_format_has_depth(VkFormat format) in vk_format_has_depth()
|
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
D | vktRobustnessVertexAccessTests.cpp | 57 VkFormat inputFormat, 69 const VkFormat m_inputFormat; 83 VkFormat inputFormat, 112 VkFormat inputFormat, 127 VkFormat inputFormat, 142 …alueFromVertexBuffer (const void* vertexBuffer, deUint32 vertexIndex, VkFormat vertexFormat, con… 143 static VkDeviceSize getBufferSizeInBytes (deUint32 numScalars, VkFormat format); 150 const VkFormat m_inputFormat; 195 VkFormat inputFormat, 213 VkFormat inputFormat, [all …]
|
D | vktRobustnessBufferAccessTests.cpp | 81 VkFormat bufferFormat); 87 VkFormat bufferFormat, 92 static void genTexelBufferShaderAccess (VkFormat bufferFormat, 101 VkFormat bufferFormat, 106 const VkFormat m_bufferFormat; 117 VkFormat bufferFormat, 141 VkFormat bufferFormat, 162 VkFormat bufferFormat, 185 const VkFormat m_bufferFormat; 228 VkFormat bufferFormat, [all …]
|