Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderbufferVk.cpp83 const bool isDepthStencilFormat = textureFormat.hasDepthOrStencilBits(); in setStorageImpl() local
84 ASSERT(textureFormat.redBits > 0 || isDepthStencilFormat); in setStorageImpl()
91 (!isDepthStencilFormat || renderer->getFeatures().supportsDepthStencilResolve.enabled); in setStorageImpl()
98 (isDepthStencilFormat ? VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT in setStorageImpl()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp513isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
514isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
526 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
527 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
529 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
1291isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1292isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1304 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
1305 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
1307 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp513isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
514isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
526 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
527 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
529 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
1291isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1292isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1304 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
1305 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
1307 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageExtendedUsageBitTests.cpp119 if (!isDepthStencilFormat(format0) && !isCompressedFormat(format0) && in isCompatibleFormat()
120 !isDepthStencilFormat(format1) && !isCompressedFormat(format1) && in isCompatibleFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageExtendedUsageBitTests.cpp119 if (!isDepthStencilFormat(format0) && !isCompressedFormat(format0) && in isCompatibleFormat()
120 !isDepthStencilFormat(format1) && !isCompressedFormat(format1) && in isCompatibleFormat()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/
DDmaBufImageSiblingVkLinux.cpp157 const bool isDepthStencilFormat = format.depthBits > 0 || format.stencilBits > 0; in GetUsageFlags() local
170 isDepthStencilFormat ? kDepthStencilRenderableRequiredBits : kColorRenderableRequiredBits); in GetUsageFlags()
179 usage |= isDepthStencilFormat ? VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT in GetUsageFlags()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/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_STE… 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.cpp545 …const bool isDepthStencilFormat (tcu::hasDepthComponent(format.order) || tcu::hasStencilComp… in createRenderPass() local
559 isDepthStencilFormat // VkImageLayout layout; || VkImageLayout layout; in createRenderPass()
668isDepthStencilFormat ? 0u : 1u, // deUint32 colorAttachmentCount; || deUint32 c… in createRenderPass()
669isDepthStencilFormat ? DE_NULL : &srcAttachmentRef, // const VkAttachmentReference* pColorAttachm… in createRenderPass()
671isDepthStencilFormat ? &srcAttachmentRef : DE_NULL, // const VkAttachmentReference* pDepthStencil… in createRenderPass()
852 …const bool isDepthStencilFormat (tcu::hasDepthComponent(format.order) || tcu::hasStencilComp… in createRenderPipeline() local
937 (isDepthStencilFormat ? 0u : 1u), in createRenderPipeline()
938 (isDepthStencilFormat ? DE_NULL : &attachmentBlendState), in createRenderPipeline()
/third_party/vk-gl-cts/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_STE… 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.cpp545 …const bool isDepthStencilFormat (tcu::hasDepthComponent(format.order) || tcu::hasStencilComp… in createRenderPass() local
559 isDepthStencilFormat // VkImageLayout layout; || VkImageLayout layout; in createRenderPass()
668isDepthStencilFormat ? 0u : 1u, // deUint32 colorAttachmentCount; || deUint32 c… in createRenderPass()
669isDepthStencilFormat ? DE_NULL : &srcAttachmentRef, // const VkAttachmentReference* pColorAttachm… in createRenderPass()
671isDepthStencilFormat ? &srcAttachmentRef : DE_NULL, // const VkAttachmentReference* pDepthStencil… in createRenderPass()
852 …const bool isDepthStencilFormat (tcu::hasDepthComponent(format.order) || tcu::hasStencilComp… in createRenderPipeline() local
937 (isDepthStencilFormat ? 0u : 1u), in createRenderPipeline()
938 (isDepthStencilFormat ? DE_NULL : &attachmentBlendState), in createRenderPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineClearUtil.cpp97 if (isDepthStencilFormat(clearFormat)) in defaultClearValue()
DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp385 if (isDepthStencilFormat(m_imageFormat)) in setup()
796 …VkAccessFlags dstAccessMask = isDepthStencilFormat(m_imageFormat) ? VK_ACCESS_DEPTH_STENCIL_ATTACH… in setup()
797 …VkPipelineStageFlags pipelineStageFlags = isDepthStencilFormat(m_imageFormat) ? VK_PIPELINE_STAGE_… in setup()
888 DE_ASSERT(m_useImageAsColorOrDSAttachment && isDepthStencilFormat(m_imageFormat)); in setup()
1756 VkFormatFeatureFlags attachmentFormatFeature = isDepthStencilFormat(params.imageFormat) ? in checkSupport()
DvktPipelineDepthTests.cpp81 DE_ASSERT(vk::isDepthStencilFormat(format)); in testSupportsDepthStencilFormat()
100 DE_ASSERT(vk::isDepthStencilFormat(format)); in testSupportsAtLeastOneDepthStencilFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineClearUtil.cpp97 if (isDepthStencilFormat(clearFormat)) in defaultClearValue()
DvktPipelineAttachmentFeedbackLoopLayoutTests.cpp385 if (isDepthStencilFormat(m_imageFormat)) in setup()
796 …VkAccessFlags dstAccessMask = isDepthStencilFormat(m_imageFormat) ? VK_ACCESS_DEPTH_STENCIL_ATTACH… in setup()
797 …VkPipelineStageFlags pipelineStageFlags = isDepthStencilFormat(m_imageFormat) ? VK_PIPELINE_STAGE_… in setup()
888 DE_ASSERT(m_useImageAsColorOrDSAttachment && isDepthStencilFormat(m_imageFormat)); in setup()
1756 VkFormatFeatureFlags attachmentFormatFeature = isDepthStencilFormat(params.imageFormat) ? in checkSupport()
DvktPipelineDepthTests.cpp81 DE_ASSERT(vk::isDepthStencilFormat(format)); in testSupportsDepthStencilFormat()
100 DE_ASSERT(vk::isDepthStencilFormat(format)); in testSupportsAtLeastOneDepthStencilFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp651 if (isDepthStencilFormat(format)) in getImageUsageFlags()
812 if (isDepthStencilFormat(format)) in createRenderPass()
845 if (isDepthStencilFormat(format)) in createRenderPass()
1257 if (!isDepthStencilFormat(m_params.imageFormat)) in verifyResultImage()
1727 const bool isDepthStencil = isDepthStencilFormat(m_params.imageFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiImageClearingTests.cpp651 if (isDepthStencilFormat(format)) in getImageUsageFlags()
812 if (isDepthStencilFormat(format)) in createRenderPass()
845 if (isDepthStencilFormat(format)) in createRenderPass()
1257 if (!isDepthStencilFormat(m_params.imageFormat)) in verifyResultImage()
1727 const bool isDepthStencil = isDepthStencilFormat(m_params.imageFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp48 bool isDepthStencilFormat (VkFormat format);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsTransientAttachmentTests.cpp456 const bool isDepthStencil = isDepthStencilFormat(m_testFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
DvktFragmentOperationsTransientAttachmentTests.cpp456 const bool isDepthStencil = isDepthStencilFormat(m_testFormat); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp338 if (isDepthStencilFormat(format)) in makeClearValue()
1232 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in Support()
1454 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in CopySupport()
3225 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in Support()
3365 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in CopySupport()
3698 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in Support()
4107 DE_ASSERT(!isDepthStencilFormat(m_resourceDesc.imageFormat)); in Support()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationOperation.cpp338 if (isDepthStencilFormat(format)) in makeClearValue()
1232 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in Support()
1454 const bool isDepthStencil = isDepthStencilFormat(resourceDesc.imageFormat); in CopySupport()
3225 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in Support()
3365 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in CopySupport()
3698 …, m_requiredQueueFlags (resourceDesc.type == RESOURCE_TYPE_IMAGE && isDepthStencilFormat(resourceD… in Support()
4107 DE_ASSERT(!isDepthStencilFormat(m_resourceDesc.imageFormat)); in Support()

12