Home
last modified time | relevance | path

Searched refs:tcuFormat (Results 1 – 23 of 23) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp172 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 …]
DvktImageLoadStoreTests.cpp1826 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/
DvktApiImageClearingTests.cpp679 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 …]
DvktApiSmokeTests.cpp556 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()
DvktApiGranularityTests.cpp194 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()
DvktApiBufferViewAccessTests.cpp433 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()
DvktApiFeatureInfo.cpp3697 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()
DvktApiCommandBuffersTests.cpp299 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/
DvktMultiViewRenderUtil.cpp67 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/
DvktFragmentOperationsEarlyFragmentTests.cpp176 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/
DvktTextureFilteringExplicitLodTests.cpp76 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/
DvkImageUtil.cpp70 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 …]
DvkNullDriver.cpp1115 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/
DvktDeviceGroupRendering.cpp1659 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/
Des3fNegativeTextureApiTests.cpp509 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/
DvktPipelineMultisampleMixedAttachmentSamplesTests.cpp80 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()
DvktPipelineImageUtil.cpp207 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()
DvktPipelineMultisampleSampleLocationsExtTests.cpp182 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()
DvktPipelineMultisampleTests.cpp896 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/
DvktDrawCreateInfoUtil.cpp97 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(_format); in ImageViewCreateInfo() local
99 switch (tcuFormat.order) in ImageViewCreateInfo()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp156 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/
DvktRenderPassMultisampleResolveTests.cpp485 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/
DvktImagelessFramebufferTests.cpp872 const tcu::TextureFormat tcuFormat = mapVkFormat(depthStencilImageFormat); in getStencilBufferFormat() local
873 …const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::T… in getStencilBufferFormat()