Home
last modified time | relevance | path

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

1234

/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()
382 m_pixelAccessData.resize(width * height * vk::mapVkFormat(m_format).getPixelSize()); in readSurfaceLinear()
384 …return tcu::ConstPixelBufferAccess(vk::mapVkFormat(m_format), width, height, 1, m_pixelAccessData.… in readSurfaceLinear()
[all …]
/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()
68 switch (mapVkFormat(format).order) in isSrgbFormat()
1642 tcu::TextureFormat mapVkFormat (VkFormat format) in mapVkFormat() function
1918 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in fullTextureFormatRoundTripSupported()
2081 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in imageUtilSelfTest()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageLoadStoreTests.cpp191 tcu::TextureLevel reference(mapVkFormat(imageFormat), imageSize.x(), imageSize.y(), imageSize.z()); in generateReferenceImage()
216 …replaceBadFloatReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access… in generateReferenceImage()
218 …replaceSnormReinterpretValues(tcu::PixelBufferAccess(mapVkFormat(readFormat), imageSize, access.ge… in generateReferenceImage()
255 …return format0 == format1 || mapVkFormat(format0).getPixelSize() == mapVkFormat(format1).getPixelS… in formatsAreCompatible()
371 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms()
372 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), usedImageType); in initPrograms()
524 const tcu::ConstPixelBufferAccess result(mapVkFormat(m_format), imageSize, alloc.getHostPtr()); in verifyResult()
808 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_format)); in initPrograms()
809 const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_format), usedImageType); in initPrograms()
902 …const tcu::ConstPixelBufferAccess result(mapVkFormat(m_imageFormat), m_texture.size(), alloc.getHo… in verifyResult()
DvktImageTestsUtil.cpp377 const deUint32 vertexSizePosition = tcu::getPixelSize(mapVkFormat(vertexFormatPosition)); in makeGraphicsPipeline()
1134 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslAttachmentType()
1158 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getGlslInputAttachmentType()
1182 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isPackedType()
1217 const tcu::TextureFormat textureFormat = mapVkFormat(format); in isComponentSwizzled()
1240 const tcu::TextureFormat textureFormat = mapVkFormat(format); in getNumUsedChannels()
DvktImageMutableTests.cpp209 …return format0 == format1 || mapVkFormat(format0).getPixelSize() == mapVkFormat(format1).getPixelS… in formatsAreCompatible()
276 const int numComponents = getNumUsedChannels(mapVkFormat(caseDef.viewFormat).order); in initPrograms()
302 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms()
348 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms()
380 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms()
1224 const VkDeviceSize pixelSize = tcu::getPixelSize(mapVkFormat(m_caseDef.imageFormat)); in uploadCopy()
1232 const tcu::TextureFormat tcuFormat = mapVkFormat(m_caseDef.imageFormat); in uploadCopy()
1739 …ef.size.y() * caseDef.size.z() * caseDef.numLayers * tcu::getPixelSize(mapVkFormat(caseDef.imageFo… in testMutable()
1755 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in testMutable()
DvktImageMultisampleLoadStoreTests.cpp83 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(caseDef.format)); in initPrograms()
84 …const std::string msImageTypeStr = getShaderImageType(mapVkFormat(caseDef.format), usedImageType,… in initPrograms()
90 const int numColorComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.format).order); in initPrograms()
136 const tcu::TextureFormat checksumFormat = mapVkFormat(CHECKSUM_IMAGE_FORMAT); in initPrograms()
DvktImageCompressionTranscodingSupport.cpp339 tcu::TextureFormat textureFormat = mapVkFormat(m_parameters.formatUncompressed); in generateData()
1159 …ConstPixelBufferAccess resultPixels (mapVkFormat(decompressedImageInfo.format), decompressedImage… in decompressImage()
1160 …ConstPixelBufferAccess referencePixels (mapVkFormat(decompressedImageInfo.format), decompressedIm… in decompressImage()
2007 …tcu::ConstPixelBufferAccess resPixels (mapVkFormat(m_parameters.formatForVerify), renderSize.width… in verifyDecompression()
2008 …tcu::ConstPixelBufferAccess refPixels (mapVkFormat(m_parameters.formatForVerify), renderSize.width… in verifyDecompression()
2354 …const std::string imageTypeStr = getShaderImageType(mapVkFormat(m_parameters.formatUncompressed),… in initPrograms()
2355 …const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(m_parameters.form… in initPrograms()
2380 …src << "layout (binding = 0) uniform "<<getGlslSamplerType(mapVkFormat(m_parameters.formatUncompre… in initPrograms()
2393 …src << "layout (binding = 0) uniform "<<getGlslSamplerType(mapVkFormat(m_parameters.formatUncompre… in initPrograms()
2425 …src_decompress << "layout (binding = 0) uniform "<<getGlslSamplerType(mapVkFormat(m_parameters.for… in initPrograms()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp240 …m_textures.push_back(TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(m_testParameters.… in Texture2DShadowTestInstance()
348 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate()
440 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in TextureCubeShadowTestInstance()
449 …m_textures.push_back(TestTextureCubeSp(new pipeline::TestTextureCube(vk::mapVkFormat(m_testParamet… in TextureCubeShadowTestInstance()
564 … const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate()
658 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture2DArrayShadowTestInstance()
666 …m_textures.push_back(TestTexture2DArraySp(new pipeline::TestTexture2DArray(vk::mapVkFormat(m_testP… in Texture2DArrayShadowTestInstance()
776 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate()
DvktTextureFilteringTests.cpp118 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture2DFilteringTestInstance()
130 …m_textures.push_back(TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(m_testParameters.… in Texture2DFilteringTestInstance()
222 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate()
313 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in TextureCubeFilteringTestInstance()
324 …m_textures.push_back(TestTextureCubeSp(new pipeline::TestTextureCube(vk::mapVkFormat(m_testParamet… in TextureCubeFilteringTestInstance()
444 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate()
534 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture2DArrayFilteringTestInstance()
547 …m_textures.push_back(TestTexture2DArraySp(new pipeline::TestTexture2DArray(vk::mapVkFormat(m_testP… in Texture2DArrayFilteringTestInstance()
650 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate()
737 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture3DFilteringTestInstance()
[all …]
DvktTextureMipmapTests.cpp174 …m_texture = TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(m_testParameters.format), … in Texture2DMipmapTestInstance()
282 refParams.samplerType = getSamplerType(vk::mapVkFormat(m_testParameters.format)); in iterate()
332 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate()
435 …m_texture = TestTextureCubeSp(new pipeline::TestTextureCube(vk::mapVkFormat(m_testParameters.forma… in TextureCubeMipmapTestInstance()
515 refParams.samplerType = getSamplerType(vk::mapVkFormat(m_testParameters.format)); in iterate()
566 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UN… in iterate()
674 const tcu::TextureFormat& texFmt = mapVkFormat(testParameters.format); in Texture3DMipmapTestInstance()
680 …m_texture = TestTexture3DSp(new pipeline::TestTexture3D(vk::mapVkFormat(m_testParameters.format), … in Texture3DMipmapTestInstance()
846 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate()
960 …m_texture = TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(format), m_texWidth, m_tex… in Texture2DLodControlTestInstance()
[all …]
DvktTextureFilteringAnisotropyTests.cpp85 m_refParams.samplerType = getSamplerType(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in FilteringAnisotropyInstance()
107 …TestTexture2DSp texture = TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(VK_FORMAT_R… in iterate()
DvktTextureFilteringExplicitLodTests.cpp334 getPixelSize(mapVkFormat(imParams.format)) in initializeImage()
375 getPixelSize(mapVkFormat(imParams.format)) in initializeImage()
1370 mapVkFormat(formats[formatNdx]), in create2DFormatTests()
1385 mapVkFormat(formats[formatNdx]), in create2DFormatTests()
1477 mapVkFormat(format), in create2DDerivTests()
1605 mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), in create2DSizeTests()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassTests.cpp424 const tcu::TextureFormat format = mapVkFormat(vkFormat); in getImageAspectFlags()
904 const tcu::TextureFormat format = mapVkFormat(vkFormat); in clearColorToString()
966 const tcu::TextureFormat format = mapVkFormat(vkFormat); in clearValueToString()
994 const tcu::TextureFormat format = mapVkFormat(attachment.getFormat()); in randomColorClearValue()
1228 const tcu::TextureFormat textureFormat = mapVkFormat(format); in createAttachmentImage()
1230 …DE_ASSERT(!(tcu::hasDepthComponent(vk::mapVkFormat(format).order) || tcu::hasStencilComponent(vk:: in createAttachmentImage()
1233 …DE_ASSERT((tcu::hasDepthComponent(vk::mapVkFormat(format).order) || tcu::hasStencilComponent(vk::m… in createAttachmentImage()
1295 const tcu::TextureFormat format = mapVkFormat(attachment.getFormat()); in randomClearValue()
1343 const tcu::TextureFormat format = mapVkFormat(attachmentInfo.getFormat()); in AttachmentResources()
1948 const tcu::TextureFormat format = mapVkFormat(attachmentInfo.getFormat()); in SubpassRenderer()
[all …]
DvktRenderPassMultisampleTests.cpp105 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in getImageAspectFlags()
220 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in createImage()
321 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in getPixelSize()
465 const tcu::TextureFormat format (mapVkFormat(srcFormat)); in createRenderPass()
916 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in createSplitDescriptorSetLayout()
1313 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in getSrcImageUsage()
1325 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in getDstFormat()
1603 const tcu::TextureFormat format (mapVkFormat(m_dstFormat)); in iterate()
1604 const tcu::TextureFormat srcFormat (mapVkFormat(m_srcFormat)); in iterate()
1840 const tcu::TextureFormat format (mapVkFormat(config.format)); in init()
DvktRenderPassMultisampleResolveTests.cpp205 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in createImage()
263 const tcu::TextureFormat format (mapVkFormat(vkFormat)); in getPixelSize()
936 const tcu::TextureFormat format (mapVkFormat(m_format)); in submit()
1123 const tcu::TextureFormat format (mapVkFormat(m_format)); in verify()
1439 const tcu::TextureFormat format (mapVkFormat(m_format)); in iterate()
1469 const tcu::TextureFormat format (mapVkFormat(m_format)); in iterate()
1549 const tcu::TextureFormat format (mapVkFormat(config.format)); in init()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateVPTests.cpp155 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame()
202 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in buildReferenceFrame()
347 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
DvktDynamicStateGeneralTests.cpp120 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
230 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
380 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryBasicClass.cpp108 …colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate()
196 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resol… in iterate()
DvktGeometryInstancedRenderingTests.cpp638 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
656 …const tcu::ConstPixelBufferAccess result(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(),… in test()
658 tcu::TextureLevel reference(mapVkFormat(colorFormat), renderSize.x(), renderSize.y()); in test()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp718 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in addSimpleVertexAndFragmentPrograms()
883 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in initPrograms()
979 … = caseDef.renderSize.x() * caseDef.renderSize.y() * tcu::getPixelSize(mapVkFormat(checksumFormat)… in test()
1134 …const tcu::ConstPixelBufferAccess access(mapVkFormat(checksumFormat), caseDef.renderSize.x(), case… in test()
1162 …const std::string imageTypeStr = getShaderMultisampledImageType(mapVkFormat(caseDef.colorFormat),… in initPrograms()
1163 …const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(caseDef.colorForm… in initPrograms()
1459 …e.x() * caseDef.renderSize.y() * caseDef.numLayers * tcu::getPixelSize(mapVkFormat(caseDef.colorFo… in test()
1479 …const tcu::PixelBufferAccess layeredImageOne (mapVkFormat(caseDef.colorFormat), caseDef.renderSiz… in test()
1480 …const tcu::ConstPixelBufferAccess layeredImageTwo (mapVkFormat(caseDef.colorFormat), caseDef.rende… in test()
DvktPipelineRenderToImageTests.cpp796 const tcu::TextureFormat::ChannelOrder order = mapVkFormat(format).order; in getFormatAspectFlags()
809 const int numComponents = getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in initPrograms()
892 …const VkDeviceSize colorSize = product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.col… in testWithSizeReduction()
893 …tencilSize = (useDepthStencil ? product(imageSize) * tcu::getPixelSize(mapVkFormat(caseDef.depthSt… in testWithSizeReduction()
909 …const VkDeviceSize colorBufferSize = product(checkSize) * tcu::getPixelSize(mapVkFormat(caseDe… in testWithSizeReduction()
1151 const tcu::TextureFormat format = mapVkFormat(caseDef.colorFormat); in testWithSizeReduction()
1368 …rageSizes = getPerMipLevelStorageSize(mipLevelSizes, tcu::getPixelSize(mapVkFormat(caseDef.colorFo… in testRenderToMipMaps()
1588 const tcu::TextureFormat format = mapVkFormat(caseDef.colorFormat); in testRenderToMipMaps()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp104 …colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in runTest()
118 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in runTest()
199 …const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), rend… in runTest()
471 image.setStorage(mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), width, height); in initializeWhiteReferenceImage()
DvktTessellationMiscDrawTests.cpp142 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in runTest()
170 …colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in runTest()
304 …const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), rend… in runTest()
DvktTessellationPrimitiveDiscardTests.cpp406 const deUint32 vertexStride = tcu::getPixelSize(mapVkFormat(vertexFormat)); in test()
442 …colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
562 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), rende… in test()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp730 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
752 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in test()
753 …const tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), rende… in test()

1234