Home
last modified time | relevance | path

Searched refs:isDepthStencilFormat (Results 1 – 16 of 16) sorted by relevance

/external/angle/src/libANGLE/renderer/vulkan/
DRenderbufferVk.cpp82 const bool isDepthStencilFormat = textureFormat.hasDepthOrStencilBits(); in setStorageImpl() local
83 ASSERT(textureFormat.redBits > 0 || isDepthStencilFormat); in setStorageImpl()
90 (!isDepthStencilFormat || renderer->getFeatures().supportsDepthStencilResolve.enabled); in setStorageImpl()
97 (isDepthStencilFormat ? VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT in setStorageImpl()
/external/deqp/external/vulkancts/modules/vulkan/descriptor_indexing/
DvktDescriptorSetsIndexingTestsUtils.cpp206 const bool isDepthStencilFormat = vk::isDepthStencilFormat(colorFormat); in createImageAndBind() local
208 const VkImageUsageFlags imageUsageFlagsDependent = isDepthStencilFormat in createImageAndBind()
265 const VkImageAspectFlags imageAspect = vk::isDepthStencilFormat(imageFormat) in recordCopyBufferToImage()
381 const VkImageAspectFlags imageAspect = vk::isDepthStencilFormat(imageFormat) in recordCopyImageToBuffer()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp354isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
355isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
367 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
368 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
370 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
1129isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1130isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1142 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
1143 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
1145 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp1105 …xt.getDeviceInterface(), context.getDevice(), m_images, m_format, isDepthStencilFormat(m_format) ?… in SubpassDependencyTestInstance()
1137 …const VkFormatFeatureFlags flags = isDepthStencilFormat(m_format) ? VK_FORMAT_FEATURE_DEPTH_STENC… in createAndAllocateImages()
1155 VkImageUsageFlags usage = ((isDepthStencilFormat(format) in createAndAllocateImages()
1292 const VkPipelineDepthStencilStateCreateInfo depthStencilCreateInfo (isDepthStencilFormat(format) in createRenderPipelines()
1407 VkImageLayout imageLayout = isDepthStencilFormat(format) in createDescriptorSets()
1468 if (isDepthStencilFormat(m_format)) in iterateInternal()
1509 …clearValues.push_back(isDepthStencilFormat(m_format) ? makeClearValueDepthStencil(1.0f, 255u) : ma… in iterateInternal()
1593 const VkImageAspectFlags imageAspectFlags = isDepthStencilFormat(m_format) in iterateInternal()
1595 const VkAccessFlags srcAccessMask = isDepthStencilFormat(m_format) in iterateInternal()
1597 const VkImageLayout oldLayout = isDepthStencilFormat(m_format) in iterateInternal()
[all …]
DvktRenderPassMultisampleTests.cpp546 …const bool isDepthStencilFormat (tcu::hasDepthComponent(format.order) || tcu::hasStencilComp… in createRenderPass() local
560 isDepthStencilFormat // VkImageLayout layout; || VkImageLayout layout; in createRenderPass()
669isDepthStencilFormat ? 0u : 1u, // deUint32 colorAttachmentCount; || deUint32 c… in createRenderPass()
670isDepthStencilFormat ? DE_NULL : &srcAttachmentRef, // const VkAttachmentReference* pColorAttachm… in createRenderPass()
672isDepthStencilFormat ? &srcAttachmentRef : DE_NULL, // const VkAttachmentReference* pDepthStencil… in createRenderPass()
853 …const bool isDepthStencilFormat (tcu::hasDepthComponent(format.order) || tcu::hasStencilComp… in createRenderPipeline() local
938 (isDepthStencilFormat ? 0u : 1u), in createRenderPipeline()
939 (isDepthStencilFormat ? DE_NULL : &attachmentBlendState), in createRenderPipeline()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp97 if (isDepthStencilFormat(clearFormat)) in defaultClearValue()
DvktPipelineDepthTests.cpp70 DE_ASSERT(vk::isDepthStencilFormat(format)); in testSupportsDepthStencilFormat()
89 DE_ASSERT(vk::isDepthStencilFormat(format)); in testSupportsAtLeastOneDepthStencilFormat()
DvktPipelineImageSamplingInstance.cpp299 …if ((isCompressedFormat(params.imageFormat) || isDepthStencilFormat(params.imageFormat)) && params… in checkSupportImageSamplingInstance()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp648 if (isDepthStencilFormat(format)) in getImageUsageFlags()
795 if (isDepthStencilFormat(format)) in createRenderPass()
828 if (isDepthStencilFormat(format)) in createRenderPass()
1218 if (!isDepthStencilFormat(m_params.imageFormat)) in verifyResultImage()
1595 const bool isDepthStencil = isDepthStencilFormat(m_params.imageFormat); in iterate()
DvktApiFeatureInfo.cpp3705 …if (isDepthStencilFormat(format) && (imageType == VK_IMAGE_TYPE_1D || imageType == VK_IMAGE_TYPE_3… in isRequiredImageParameterCombination()
3719 if (isDepthStencilFormat(format)) in isRequiredImageParameterCombination()
DvktApiExternalMemoryTests.cpp4111 …const vk::VkImageUsageFlagBits framebufferUsageFlag = vk::isDepthStencilFormat(format) ? vk::VK_IM… in testAndroidHardwareBufferImageFormat()
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp44 bool isDepthStencilFormat (VkFormat format);
DvkImageUtil.cpp62 bool isDepthStencilFormat (VkFormat format) in isDepthStencilFormat() function
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp338 if (isDepthStencilFormat(format)) in makeClearValue()
1228 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in Support()
1448 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in CopySupport()
3210 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in Support()
3350 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in CopySupport()
3680 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in Support()
4089 DE_ASSERT(!isDepthStencilFormat(m_resourceDesc.imageFormat)); in Support()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1005 …const bool isDepthStencilFormat = (format >= VK_FORMAT_D16_UNORM && format <= VK_FORMAT_D32_SFLOAT… in isFormatMatchingAspect() local
1007 …turn (aspect == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) == isDepthStencilFormat; in isFormatMatchingAspect()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp243 const bool depthStencilFormat = isDepthStencilFormat(colorFormat); in ImageAttachment()