/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 34 …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() 340 tcu::TextureFormat mapVkFormat (VkFormat format) in mapVkFormat() function 608 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in fullTextureFormatRoundTripSupported() 665 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in imageUtilSelfTest() [all …]
|
D | vkImageUtil.hpp | 46 tcu::TextureFormat mapVkFormat (VkFormat format);
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.cpp | 174 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 …]
|
D | vktDrawSimpleTest.cpp | 167 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate() 275 …tcu::Texture2D referenceFrame(vk::mapVkFormat(m_colorAttachmentFormat), (int)(0.5 + WIDTH), (int)(… in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/ |
D | vktRenderPassTests.cpp | 399 const tcu::TextureFormat format = mapVkFormat(vkFormat); in getImageAspectFlags() 857 const tcu::TextureFormat format = mapVkFormat(vkFormat); in clearColorToString() 919 const tcu::TextureFormat format = mapVkFormat(vkFormat); in clearValueToString() 947 const tcu::TextureFormat format = mapVkFormat(attachment.getFormat()); in randomColorClearValue() 1155 const tcu::TextureFormat textureFormat = mapVkFormat(format); in createAttachmentImage() 1157 …DE_ASSERT(!(tcu::hasDepthComponent(vk::mapVkFormat(format).order) || tcu::hasStencilComponent(vk::… in createAttachmentImage() 1160 …DE_ASSERT((tcu::hasDepthComponent(vk::mapVkFormat(format).order) || tcu::hasStencilComponent(vk::m… in createAttachmentImage() 1216 const tcu::TextureFormat format = mapVkFormat(attachment.getFormat()); in randomClearValue() 1261 const tcu::TextureFormat format = mapVkFormat(attachmentInfo.getFormat()); in AttachmentResources() 1852 const tcu::TextureFormat format = mapVkFormat(attachmentInfo.getFormat()); in SubpassRenderer() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 118 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture2DFilteringTestInstance() 125 …m_textures.push_back(TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(m_testParameters.… in Texture2DFilteringTestInstance() 217 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate() 308 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in TextureCubeFilteringTestInstance() 314 …m_textures.push_back(TestTextureCubeSp(new pipeline::TestTextureCube(vk::mapVkFormat(m_testParamet… in TextureCubeFilteringTestInstance() 434 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate() 524 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture2DArrayFilteringTestInstance() 532 …m_textures.push_back(TestTexture2DArraySp(new pipeline::TestTexture2DArray(vk::mapVkFormat(m_testP… in Texture2DArrayFilteringTestInstance() 635 …const tcu::IVec4 formatBitDepth = getTextureFormatBitDepth(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNO… in iterate() 722 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(vk::mapVkFormat(m_testParameters… in Texture3DFilteringTestInstance() [all …]
|
D | vktTextureShadowTests.cpp | 240 …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()
|
D | vktTextureMipmapTests.cpp | 174 …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 …]
|
D | vktTextureFilteringAnisotropyTests.cpp | 85 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()
|
D | vktTextureFilteringExplicitLodTests.cpp | 334 getPixelSize(mapVkFormat(imParams.format)) in initializeImage() 392 getPixelSize(mapVkFormat(imParams.format)) in initializeImage() 1387 mapVkFormat(formats[formatNdx]), in create2DFormatTests() 1402 mapVkFormat(formats[formatNdx]), in create2DFormatTests() 1494 mapVkFormat(format), in create2DDerivTests() 1622 mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM), in create2DSizeTests()
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageLoadStoreTests.cpp | 191 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()
|
D | vktImageMultisampleLoadStoreTests.cpp | 82 const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(caseDef.format)); in initPrograms() 83 …const std::string msImageTypeStr = getShaderImageType(mapVkFormat(caseDef.format), usedImageType,… in initPrograms() 89 const int numColorComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.format).order); in initPrograms() 135 const tcu::TextureFormat checksumFormat = mapVkFormat(CHECKSUM_IMAGE_FORMAT); in initPrograms()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateVPTests.cpp | 155 …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()
|
D | vktDynamicStateGeneralTests.cpp | 120 …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/pipeline/ |
D | vktPipelineMultisampleImageTests.cpp | 717 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in addSimpleVertexAndFragmentPrograms() 882 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in initPrograms() 978 … = caseDef.renderSize.x() * caseDef.renderSize.y() * tcu::getPixelSize(mapVkFormat(checksumFormat)… in test() 1133 …const tcu::ConstPixelBufferAccess access(mapVkFormat(checksumFormat), caseDef.renderSize.x(), case… in test() 1161 …const std::string imageTypeStr = getShaderMultisampledImageType(mapVkFormat(caseDef.colorFormat),… in initPrograms() 1162 …const std::string formatQualifierStr = getShaderImageFormatQualifier(mapVkFormat(caseDef.colorForm… in initPrograms() 1458 …e.x() * caseDef.renderSize.y() * caseDef.numLayers * tcu::getPixelSize(mapVkFormat(caseDef.colorFo… in test() 1478 …const tcu::PixelBufferAccess layeredImageOne (mapVkFormat(caseDef.colorFormat), caseDef.renderSiz… in test() 1479 …const tcu::ConstPixelBufferAccess layeredImageTwo (mapVkFormat(caseDef.colorFormat), caseDef.rende… in test()
|
D | vktPipelineStencilTests.cpp | 385 …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()
|
D | vktPipelineClearUtil.cpp | 105 const tcu::TextureFormat tcuClearFormat = mapVkFormat(clearFormat); in defaultClearValue()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryBasicClass.cpp | 108 …colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate() 196 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resol… in iterate()
|
D | vktGeometryInstancedRenderingTests.cpp | 637 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test() 655 …const tcu::ConstPixelBufferAccess result(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(),… in test() 657 tcu::TextureLevel reference(mapVkFormat(colorFormat), renderSize.x(), renderSize.y()); in test()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationShaderInputOutputTests.cpp | 104 …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()
|
D | vktTessellationMiscDrawTests.cpp | 142 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()
|
D | vktTessellationPrimitiveDiscardTests.cpp | 406 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()
|
D | vktTessellationGeometryPassthroughTests.cpp | 357 …return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, al… in getPixelBufferAccess() 481 …olorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate() 513 .setVertexInputSingleAttribute(vertexFormat, tcu::getPixelSize(mapVkFormat(vertexFormat))) in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorMultiViewportTests.cpp | 730 … 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()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCopiesAndBlittingTests.cpp | 379 const VkImageAspectFlags formatAspect = getAspectFlags(mapVkFormat(parms.format)); in uploadImageAspect() 564 const VkImageAspectFlags formatAspect = getAspectFlags(mapVkFormat(imageParms.format)); in readImageAspect() 679 const tcu::TextureFormat imageFormat = mapVkFormat(parms.format); in readImage() 816 const tcu::TextureFormat srcTcuFormat = mapVkFormat(m_params.src.image.format); in iterate() 817 const tcu::TextureFormat dstTcuFormat = mapVkFormat(m_params.dst.image.format); in iterate() 1093 …m_sourceTextureLevel = de::MovePtr<tcu::TextureLevel>(new tcu::TextureLevel(mapVkFormat(VK_FORMAT… in iterate() 1097 …m_destinationTextureLevel = de::MovePtr<tcu::TextureLevel>(new tcu::TextureLevel(mapVkFormat(VK_FO… in iterate() 1157 …de::MovePtr<tcu::TextureLevel> resultLevel (new tcu::TextureLevel(mapVkFormat(VK_FORMAT_R32_UINT)… in iterate() 1212 , m_textureFormat(mapVkFormat(testParams.src.image.format)) in CopyImageToBuffer() 1418 , m_textureFormat(mapVkFormat(testParams.dst.image.format)) in CopyBufferToImage() [all …]
|