/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageMutableTests.cpp | 172 tcu::TextureFormat tcuFormat; in getClearValueInt() local 181 tcuFormat = mapVkFormat(format); in getClearValueInt() 183 switch (getChannelSize(tcuFormat.type)) in getClearValueInt() 395 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms() local 396 const std::string imageFormatStr = getShaderImageFormatQualifier(tcuFormat); in initPrograms() 397 const std::string imageTypeStr = getShaderImageType(tcuFormat, caseDef.imageType); in initPrograms() 445 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms() local 446 const std::string imageFormatStr = getShaderImageFormatQualifier(tcuFormat); in initPrograms() 447 const std::string imageTypeStr = getShaderImageType(tcuFormat, caseDef.imageType); in initPrograms() 477 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms() local [all …]
|
D | vktImageLoadStoreTests.cpp | 1826 tcu::TextureFormat tcuFormat = mapVkFormat(m_format); in initPrograms() local 1828 const std::string imageTypeStr = getShaderImageType(tcuFormat, usedImageType); in initPrograms() 1829 …const bool isSigned = (getTextureChannelClass(tcuFormat.type) == tcu::TEXTURECHANNELCLASS_SIGN… in initPrograms()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 679 const TextureFormat tcuFormat = mapVkFormat(format); in getIsStencilFormat() local 681 if (tcuFormat.order == TextureFormat::S || tcuFormat.order == TextureFormat::DS) in getIsStencilFormat() 689 const TextureFormat tcuFormat = mapVkFormat(format); in getIsDepthFormat() local 691 if (tcuFormat.order == TextureFormat::D || tcuFormat.order == TextureFormat::DS) in getIsDepthFormat() 1038 …const TextureFormat tcuFormat = aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? mapVkFormat(m_param… in readImage() local 1042 const deUint32 pixelSize = getPixelSize(tcuFormat); in readImage() 1051 de::MovePtr<TextureLevelPyramid> result (new TextureLevelPyramid(tcuFormat, m_imageMipLevels)); in readImage() 1551 const TextureFormat tcuFormat = mapVkFormat(format); in makeClearColorValue() local 1554 if (getTextureChannelClass(tcuFormat.type) == TEXTURECHANNELCLASS_FLOATING_POINT in makeClearColorValue() 1555 || getTextureChannelClass(tcuFormat.type) == TEXTURECHANNELCLASS_SIGNED_FIXED_POINT in makeClearColorValue() [all …]
|
D | vktApiSmokeTests.cpp | 556 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in renderTriangleTest() local 565 …const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, read… in renderTriangleTest() 570 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleTest() 1167 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in renderTriangleDummyExtStructTest() local 1176 …const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, renderSize.x(), renderSize.y(), … in renderTriangleDummyExtStructTest() 1181 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleDummyExtStructTest() 1477 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in renderTriangleUnusedResolveAttachmentTest() local 1486 …const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, read… in renderTriangleUnusedResolveAttachmentTest() 1491 tcu::TextureLevel refImage (tcuFormat, renderSize.x(), renderSize.y()); in renderTriangleUnusedResolveAttachmentTest()
|
D | vktApiGranularityTests.cpp | 194 const tcu::TextureFormat tcuFormat = mapVkFormat(it->format); in initImages() local 196 if (tcu::hasDepthComponent(tcuFormat.order)) in initImages() 199 if (tcu::hasStencilComponent(tcuFormat.order)) in initImages()
|
D | vktApiBufferViewAccessTests.cpp | 433 const tcu::TextureFormat tcuFormat = mapVkFormat(m_colorFormat); in checkResult() local 434 …de::MovePtr<tcu::TextureLevel> resultLevel (new tcu::TextureLevel(tcuFormat, m_renderSize.x(… in checkResult()
|
D | vktApiFeatureInfo.cpp | 3697 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getRequiredOptimalTilingSampleCounts() local 3698 …hasDepthComp = (tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat:… in getRequiredOptimalTilingSampleCounts() 3699 …hasStencilComp = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::TextureForma… in getRequiredOptimalTilingSampleCounts() 3724 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getRequiredOptimalTilingSampleCounts() local 3725 const tcu::TextureChannelClass chnClass = tcu::getTextureChannelClass(tcuFormat.type); in getRequiredOptimalTilingSampleCounts()
|
D | vktApiCommandBuffersTests.cpp | 299 const tcu::TextureFormat tcuFormat = mapVkFormat(DEFAULT_IMAGE_FORMAT); in readColorAttachment() local 300 … pixelDataSize = DEFAULT_IMAGE_SIZE.height * DEFAULT_IMAGE_SIZE.height * tcuFormat.getPixelSize(); in readColorAttachment() 301 …de::MovePtr<tcu::TextureLevel> resultLevel (new tcu::TextureLevel(tcuFormat, DEFAULT_IMAGE_SIZE.w… in readColorAttachment()
|
/external/deqp/external/vulkancts/modules/vulkan/multiview/ |
D | vktMultiViewRenderUtil.cpp | 67 const tcu::TextureFormat tcuFormat = mapVkFormat(depthStencilImageFormat); in getStencilBufferFormat() local 68 …const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::Textu… in getStencilBufferFormat()
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 176 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags() local 178 …if (tcuFormat.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_A… in getImageAspectFlags() 179 else if (tcuFormat.order == tcu::TextureFormat::D) return VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags() 180 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringExplicitLodTests.cpp | 76 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getPrecision() local 77 const tcu::TextureChannelClass channelClass = tcu::getTextureChannelClass(tcuFormat.type); in getPrecision() 78 const tcu::IVec4 channelDepth = tcu::getTextureFormatBitDepth(tcuFormat); in getPrecision() 615 const tcu::TextureFormat tcuFormat = mapVkFormat(m_imParams.format); in verify() local 617 …std::vector<de::SharedPtr<tcu::FloatFormat>> relaxedPrecision = tcuFormat.type == tcu::TextureForm… in verify() 618 …const bool allowRelaxedPrecision = (tcuFormat.type == tcu::TextureFormat::HALF_FLOAT || t… in verify()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 70 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthStencilFormat() local 71 …return tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat::S || tcu… in isDepthStencilFormat() 2985 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in fullTextureFormatRoundTripSupported() local 2987 switch (tcuFormat.type) in fullTextureFormatRoundTripSupported() 3192 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in imageUtilSelfTest() local 3193 const VkFormat remappedFormat = mapTextureFormat(tcuFormat); in imageUtilSelfTest() 3195 DE_TEST_ASSERT(isValid(tcuFormat)); in imageUtilSelfTest() 3281 const tcu::TextureFormat tcuFormat (mapVkFormat(format)); in getFormatComponentWidth() local 3282 const deUint32 componentCount (tcu::getNumUsedChannels(tcuFormat.order)); in getFormatComponentWidth() 3288 switch (tcuFormat.type) in getFormatComponentWidth() [all …]
|
D | vkNullDriver.cpp | 1115 const tcu::CompressedTexFormat tcuFormat = mapVkCompressedFormat(format); in getCompressedImageDataSize() local 1116 const size_t blockSize = tcu::getBlockSize(tcuFormat); in getCompressedImageDataSize() 1117 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(tcuFormat); in getCompressedImageDataSize()
|
/external/deqp/external/vulkancts/modules/vulkan/device_group/ |
D | vktDeviceGroupRendering.cpp | 1659 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in iterate() local 1660 …const tcu::ConstPixelBufferAccess resultAccess(tcuFormat, renderSize.x(), renderSize.y(), 1, readI… in iterate() 1671 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in iterate() local 1672 …const tcu::ConstPixelBufferAccess resultAccess(tcuFormat, renderSize.x(), renderSize.y(), 1, readI… in iterate() 1677 tcu::TextureLevel refImage(tcuFormat, (deInt32)renderSize.x(), (deInt32)renderSize.y()); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fNegativeTextureApiTests.cpp | 509 const CompressedTexFormat tcuFormat = mapGLCompressedTexFormat(format); in init() 510 const IVec3 blockPixels = getBlockPixelSize(tcuFormat); in init() 512 const size_t blockBytes = getBlockSize(tcuFormat); in init() 521 … const size_t blockBytes = getBlockSize(tcuFormat) * cubeSize; // We have a x * y grid of blocks in init() 2692 const CompressedTexFormat tcuFormat = mapGLCompressedTexFormat(format); in init() 2693 const IVec3 blockPixels = getBlockPixelSize(tcuFormat); in init() 2694 const size_t blockBytes = getBlockSize(tcuFormat); in init() 3005 const CompressedTexFormat tcuFormat = mapGLCompressedTexFormat(format); in init() 3006 const IVec3 blockPixels = getBlockPixelSize(tcuFormat); in init() 3148 const CompressedTexFormat tcuFormat = mapGLCompressedTexFormat(format); in init() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineMultisampleMixedAttachmentSamplesTests.cpp | 80 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags() local 82 …if (tcuFormat.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_A… in getImageAspectFlags() 83 else if (tcuFormat.order == tcu::TextureFormat::D) return VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags() 84 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
|
D | vktPipelineImageUtil.cpp | 207 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in readColorAttachment() local 208 const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * tcuFormat.getPixelSize(); in readColorAttachment() 209 …de::MovePtr<tcu::TextureLevel> resultLevel (new tcu::TextureLevel(tcuFormat, renderSize.x(), rend… in readColorAttachment()
|
D | vktPipelineMultisampleSampleLocationsExtTests.cpp | 182 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags() local 184 …if (tcuFormat.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_A… in getImageAspectFlags() 185 else if (tcuFormat.order == tcu::TextureFormat::D) return VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags() 186 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
|
D | vktPipelineMultisampleTests.cpp | 896 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags() local 898 …if (tcuFormat.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_A… in getImageAspectFlags() 899 else if (tcuFormat.order == tcu::TextureFormat::D) return VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags() 900 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawCreateInfoUtil.cpp | 97 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(_format); in ImageViewCreateInfo() local 99 switch (tcuFormat.order) in ImageViewCreateInfo()
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryLayeredRenderingTests.cpp | 156 const tcu::TextureFormat tcuFormat = mapVkFormat(depthStencilImageFormat); in getStencilBufferFormat() local 157 …const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::Textu… in getStencilBufferFormat()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultisampleResolveTests.cpp | 485 const tcu::TextureFormat tcuFormat (mapVkFormat(m_format)); in getFormatThreshold() local 486 const deUint32 componentCount (tcu::getNumUsedChannels(tcuFormat.order)); in getFormatThreshold() 504 return (tcuFormat.type == tcu::TextureFormat::HALF_FLOAT) ? tcu::Vec4(0.005f) : Vec4(0.00001f); in getFormatThreshold()
|
/external/deqp/external/vulkancts/modules/vulkan/imageless_framebuffer/ |
D | vktImagelessFramebufferTests.cpp | 872 const tcu::TextureFormat tcuFormat = mapVkFormat(depthStencilImageFormat); in getStencilBufferFormat() local 873 …const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::T… in getStencilBufferFormat()
|