Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp640 const TextureFormat tcuFormat = mapVkFormat(format); in getIsStencilFormat() local
642 if (tcuFormat.order == TextureFormat::S || tcuFormat.order == TextureFormat::DS) in getIsStencilFormat()
650 const TextureFormat tcuFormat = mapVkFormat(format); in getIsDepthFormat() local
652 if (tcuFormat.order == TextureFormat::D || tcuFormat.order == TextureFormat::DS) in getIsDepthFormat()
887 …const TextureFormat tcuFormat = aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? mapVkFormat(m_param… in readImage() local
891 const deUint32 pixelSize = getPixelSize(tcuFormat); in readImage()
900 de::MovePtr<TextureLevelPyramid> result (new TextureLevelPyramid(tcuFormat, m_imageMipLevels)); in readImage()
1368 const TextureFormat tcuFormat = mapVkFormat(format); in makeClearColorValue() local
1371 if (getTextureChannelClass(tcuFormat.type) == TEXTURECHANNELCLASS_FLOATING_POINT in makeClearColorValue()
1372 || 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()
866 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in renderTriangleUnusedResolveAttachmentTest() local
875 …const tcu::ConstPixelBufferAccess resultAccess (tcuFormat, renderSize.x(), renderSize.y(), 1, read… in renderTriangleUnusedResolveAttachmentTest()
880 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.cpp2493 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getRequiredOptimalTilingSampleCounts() local
2494 …hasDepthComp = (tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat:… in getRequiredOptimalTilingSampleCounts()
2495 …hasStencilComp = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::TextureForma… in getRequiredOptimalTilingSampleCounts()
2520 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getRequiredOptimalTilingSampleCounts() local
2521 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/image/
DvktImageMutableTests.cpp170 tcu::TextureFormat tcuFormat; in getClearValueInt() local
179 tcuFormat = mapVkFormat(format); in getClearValueInt()
181 switch (getChannelSize(tcuFormat.type)) in getClearValueInt()
393 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms() local
394 const std::string imageFormatStr = getShaderImageFormatQualifier(tcuFormat); in initPrograms()
395 const std::string imageTypeStr = getShaderImageType(tcuFormat, caseDef.imageType); in initPrograms()
443 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms() local
444 const std::string imageFormatStr = getShaderImageFormatQualifier(tcuFormat); in initPrograms()
445 const std::string imageTypeStr = getShaderImageType(tcuFormat, caseDef.imageType); in initPrograms()
475 const TextureFormat tcuFormat = mapVkFormat(caseDef.viewFormat); in initPrograms() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp198 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags() local
200 …if (tcuFormat.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_A… in getImageAspectFlags()
201 else if (tcuFormat.order == tcu::TextureFormat::D) return VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags()
202 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
/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/framework/vulkan/
DvkImageUtil.cpp68 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in isDepthStencilFormat() local
69 …return tcuFormat.order == tcu::TextureFormat::D || tcuFormat.order == tcu::TextureFormat::S || tcu… in isDepthStencilFormat()
2060 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in fullTextureFormatRoundTripSupported() local
2062 switch (tcuFormat.type) in fullTextureFormatRoundTripSupported()
2223 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in imageUtilSelfTest() local
2224 const VkFormat remappedFormat = mapTextureFormat(tcuFormat); in imageUtilSelfTest()
2226 DE_TEST_ASSERT(isValid(tcuFormat)); in imageUtilSelfTest()
2312 const tcu::TextureFormat tcuFormat (mapVkFormat(format)); in getFormatComponentWidth() local
2313 const deUint32 componentCount (tcu::getNumUsedChannels(tcuFormat.order)); in getFormatComponentWidth()
2319 switch (tcuFormat.type) in getFormatComponentWidth()
DvkNullDriver.cpp1071 const tcu::CompressedTexFormat tcuFormat = mapVkCompressedFormat(format); in getCompressedImageDataSize() local
1072 const size_t blockSize = tcu::getBlockSize(tcuFormat); in getCompressedImageDataSize()
1073 const tcu::IVec3 blockPixelSize = tcu::getBlockPixelSize(tcuFormat); in getCompressedImageDataSize()
/external/deqp/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp1634 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in iterate() local
1635 …const tcu::ConstPixelBufferAccess resultAccess(tcuFormat, renderSize.x(), renderSize.y(), 1, readI… in iterate()
1646 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat); in iterate() local
1647 …const tcu::ConstPixelBufferAccess resultAccess(tcuFormat, renderSize.x(), renderSize.y(), 1, readI… in iterate()
1652 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()
2690 const CompressedTexFormat tcuFormat = mapGLCompressedTexFormat(format); in init()
2691 const IVec3 blockPixels = getBlockPixelSize(tcuFormat); in init()
2692 const size_t blockBytes = getBlockSize(tcuFormat); in init()
3003 const CompressedTexFormat tcuFormat = mapGLCompressedTexFormat(format); in init()
3004 const IVec3 blockPixels = getBlockPixelSize(tcuFormat); in init()
3146 const CompressedTexFormat tcuFormat = mapGLCompressedTexFormat(format); in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp206 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in readColorAttachment() local
207 const VkDeviceSize pixelDataSize = renderSize.x() * renderSize.y() * tcuFormat.getPixelSize(); in readColorAttachment()
208 …de::MovePtr<tcu::TextureLevel> resultLevel (new tcu::TextureLevel(tcuFormat, renderSize.x(), rend… in readColorAttachment()
DvktPipelineMultisampleTests.cpp731 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags() local
733 …if (tcuFormat.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_A… in getImageAspectFlags()
734 else if (tcuFormat.order == tcu::TextureFormat::D) return VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags()
735 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
DvktPipelineMultisampleSampleLocationsExtTests.cpp175 const tcu::TextureFormat tcuFormat = mapVkFormat(format); in getImageAspectFlags() local
177 …if (tcuFormat.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_A… in getImageAspectFlags()
178 else if (tcuFormat.order == tcu::TextureFormat::D) return VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags()
179 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp143 const tcu::TextureFormat tcuFormat = mapVkFormat(depthStencilImageFormat); in getStencilBufferFormat() local
144 …const VkFormat result = (tcuFormat.order == tcu::TextureFormat::S || tcuFormat.order == tcu::Textu… in getStencilBufferFormat()
/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/renderpass/
DvktRenderPassMultisampleResolveTests.cpp112 const tcu::TextureFormat tcuFormat (mapVkFormat(format)); in getFormatThreshold() local
113 const deUint32 componentCount (tcu::getNumUsedChannels(tcuFormat.order)); in getFormatThreshold()