Home
last modified time | relevance | path

Searched refs:mapVkFormat (Results 1 – 25 of 41) sorted by relevance

12

/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp34 …return tcu::getTextureChannelClass(mapVkFormat(format).type) == tcu::TEXTURECHANNELCLASS_FLOATING_… in isFloatFormat()
39 …return tcu::getTextureChannelClass(mapVkFormat(format).type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_… in isUnormFormat()
44 …return tcu::getTextureChannelClass(mapVkFormat(format).type) == tcu::TEXTURECHANNELCLASS_SIGNED_FI… in isSnormFormat()
49 …return tcu::getTextureChannelClass(mapVkFormat(format).type) == tcu::TEXTURECHANNELCLASS_SIGNED_IN… in isIntFormat()
54 …return tcu::getTextureChannelClass(mapVkFormat(format).type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_… in isUintFormat()
62 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthStencilFormat()
270 tcu::TextureFormat mapVkFormat (VkFormat format) in mapVkFormat() function
507 : mapVkFormat(format); in getFormatComponentMapping()
582 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in fullTextureFormatRoundTripSupported()
639 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in imageUtilSelfTest()
[all …]
DvkImageUtil.hpp43 tcu::TextureFormat mapVkFormat (VkFormat format);
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateImageObjectUtil.cpp174 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurface()
185 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.… in readSurface()
199 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
210 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, depth, m_pixelAccessD… in readVolume()
222 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D()
234 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, 1, 1, m_pixelAccessData.data(… in readSurface1D()
274 bool isCombinedType = isCombinedDepthStencilType(vk::mapVkFormat(m_format).type); in readUsingBuffer()
278 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer()
391 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear()
393 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.… in readSurfaceLinear()
[all …]
DvktDynamicStateVPTests.cpp152 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame()
199 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame()
344 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
DvktDynamicStateGeneralTests.cpp117 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
227 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
377 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
DvktDynamicStateCBTests.cpp126 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
DvktDynamicStateRSTests.cpp452 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
558 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
664 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
DvktDynamicStateDSTests.cpp491 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
643 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
813 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp174 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurface()
185 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.… in readSurface()
199 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
210 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, depth, m_pixelAccessD… in readVolume()
222 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D()
234 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, 1, 1, m_pixelAccessData.data(… in readSurface1D()
274 bool isCombinedType = isCombinedDepthStencilType(vk::mapVkFormat(m_format).type); in readUsingBuffer()
278 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer()
391 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear()
393 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.… in readSurfaceLinear()
[all …]
DvktDrawSimpleTest.cpp165 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
273 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
DvktDrawIndexedTest.cpp172 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
295 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
DvktDrawIndirectTest.cpp290 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
475 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolImageObjectUtil.cpp176 m_pixelAccessData.resize(width * height * depth * vk::mapVkFormat(m_format).getPixelSize()); in readVolume()
187 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, depth, m_pixelAccessD… in readVolume()
199 m_pixelAccessData.resize(width * vk::mapVkFormat(m_format).getPixelSize()); in readSurface1D()
211 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, 1, 1, m_pixelAccessData.data(… in readSurface1D()
251 bool isCombinedType = isCombinedDepthStencilType(vk::mapVkFormat(m_format).type); in readUsingBuffer()
255 bufferSize = vk::mapVkFormat(m_format).getPixelSize() * width * height * depth; in readUsingBuffer()
368 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear()
370 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.… in readSurfaceLinear()
392 MemoryOp::unpack(vk::mapVkFormat(m_format).getPixelSize(), width, height, depth, in readLinear()
659 bool isCombinedType = isCombinedDepthStencilType(vk::mapVkFormat(m_format).type); in uploadUsingBuffer()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp281 tcu::TextureLevel reference(mapVkFormat(imageFormat), imageSize.x(), imageSize.y(), imageSize.z()); in generateReferenceImage()
306 …replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access… in generateReferenceImage()
308 …replaceSnormReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.ge… in generateReferenceImage()
354 …return format0 == format1 || mapVkFormat(format0).getPixelSize() == mapVkFormat(format1).getPixelS… in formatsAreCompatible()
482 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms()
483 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), usedImageType); in initPrograms()
635 const tcu::ConstPixelBufferAccess result(mapVkFormat(m_format), imageSize, alloc.getHostPtr()); in verifyResult()
919 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms()
920 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), usedImageType); in initPrograms()
1013 …const tcu::ConstPixelBufferAccess result(mapVkFormat(m_imageFormat), m_texture.size(), alloc.getHo… in verifyResult()
DvktImageSizeTests.cpp195 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms()
196 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), m_texture.type()); in initPrograms()
DvktImageTestsUtil.hpp176 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp450 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in readImage()
682 tcu::TextureFormat srcTcuFormat = mapVkFormat(m_params.src.image.format); in iterate()
683 tcu::TextureFormat dstTcuFormat = mapVkFormat(m_params.dst.image.format); in iterate()
886 …m_sourceTextureLevel = de::MovePtr<tcu::TextureLevel>(new tcu::TextureLevel(mapVkFormat(VK_FORMAT… in iterate()
890 …m_destinationTextureLevel = de::MovePtr<tcu::TextureLevel>(new tcu::TextureLevel(mapVkFormat(VK_FO… in iterate()
964 …de::MovePtr<tcu::TextureLevel> resultLevel (new tcu::TextureLevel(mapVkFormat(VK_FORMAT_R32_UINT)… in iterate()
1022 , m_textureFormat(mapVkFormat(testParams.src.image.format)) in CopyImageToBuffer()
1247 , m_textureFormat(mapVkFormat(testParams.dst.image.format)) in CopyBufferToImage()
DvktApiBufferViewAccessTests.cpp146 …, m_pixelDataSize (m_renderSize.x() * m_renderSize.y() * mapVkFormat(m_colorFormat).getPixelSize(… in BufferViewTestInstance()
780 const tcu::TextureFormat tcuFormat = mapVkFormat(m_colorFormat); in checkResult()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilTests.cpp385 …const VkImageAspectFlags aspect = (mapVkFormat(m_stencilFormat).order == tcu::TextureFormat::DS ? … in StencilTestInstance()
684 const bool isDepthEnabled = (vk::mapVkFormat(m_stencilFormat).order != tcu::TextureFormat::S); in StencilTestInstance()
932 const tcu::TextureFormat tcuColorFormat = mapVkFormat(m_colorFormat); in verifyImage()
933 const tcu::TextureFormat tcuStencilFormat = mapVkFormat(m_stencilFormat); in verifyImage()
DvktPipelineClearUtil.cpp105 const tcu::TextureFormat tcuClearFormat = mapVkFormat(clearFormat); in defaultClearValue()
DvktPipelineEarlyFragmentTests.cpp697 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags()
902 …const VkDeviceSize colorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderSize… in iterate()
1010 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), rende… in iterate()
DvktPipelineDepthTests.cpp298 …const VkImageAspectFlags aspect = (mapVkFormat(m_depthFormat).order == tcu::TextureFormat::DS ? VK… in DepthTestInstance()
844 const tcu::TextureFormat tcuColorFormat = mapVkFormat(m_colorFormat); in verifyImage()
845 const tcu::TextureFormat tcuDepthFormat = mapVkFormat(m_depthFormat); in verifyImage()
DvktPipelineBlendTests.cpp673 const tcu::TextureFormatInfo formatInfo = tcu::getTextureFormatInfo(mapVkFormat(m_colorFormat)); in BlendTestInstance()
911 const tcu::TextureFormat tcuColorFormat = mapVkFormat(m_colorFormat); in verifyImage()
/external/deqp/external/vulkancts/modules/vulkan/
DvktRenderPassTests.cpp332 const tcu::TextureFormat format = mapVkFormat(vkFormat); in getImageAspectFlags()
791 const tcu::TextureFormat format = mapVkFormat(vkFormat); in clearColorToString()
853 const tcu::TextureFormat format = mapVkFormat(vkFormat); in clearValueToString()
881 const tcu::TextureFormat format = mapVkFormat(attachment.getFormat()); in randomColorClearValue()
1097 const tcu::TextureFormat textureFormat = mapVkFormat(format); in createAttachmentImage()
1156 const tcu::TextureFormat format = mapVkFormat(attachment.getFormat()); in randomClearValue()
1199 const tcu::TextureFormat format = mapVkFormat(attachmentInfo.getFormat()); in AttachmentResources()
1818 …tcu::TextureFormat format = mapVkFormat(m_renderInfo.getDepthStencilAttachment()->getFormat(… in pushRenderCommands()
1919 const tcu::TextureFormat format = mapVkFormat(attachmentInfo[attachmentNdx].getFormat()); in pushImageInitializationCommands()
2119 …const tcu::TextureFormat::ChannelOrder order = mapVkFormat(attachmentInfo[attachmentNdx].getFormat… in pushReadImagesToBuffers()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.hpp157 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()

12