Home
last modified time | relevance | path

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

/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/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp355isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
356isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
368 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
369 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
371 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
1130isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1131isDepthStencilFormat(format) ? VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : VK_IMAGE_LAYOUT_… in createRenderPass()
1143 isDepthStencilFormat(format) ? 0 : 1, in createRenderPass()
1144 isDepthStencilFormat(format) ? DE_NULL : &attachmentReference, in createRenderPass()
1146 isDepthStencilFormat(format) ? attachmentReference : AttachmentReference(), in createRenderPass()
/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/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/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.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/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp649 if (isDepthStencilFormat(format)) in getImageUsageFlags()
810 if (isDepthStencilFormat(format)) in createRenderPass()
843 if (isDepthStencilFormat(format)) in createRenderPass()
1233 if (!isDepthStencilFormat(m_params.imageFormat)) in verifyResultImage()
1673 const bool isDepthStencil = isDepthStencilFormat(m_params.imageFormat); in iterate()
DvktApiFeatureInfo.cpp3741 …if (isDepthStencilFormat(format) && (imageType == VK_IMAGE_TYPE_1D || imageType == VK_IMAGE_TYPE_3… in isRequiredImageParameterCombination()
3755 if (isDepthStencilFormat(format)) in isRequiredImageParameterCombination()
DvktApiExternalMemoryTests.cpp4139 …const vk::VkImageUsageFlagBits framebufferUsageFlag = vk::isDepthStencilFormat(format) ? vk::VK_IM… in testAndroidHardwareBufferImageFormat()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkImageUtil.hpp44 bool isDepthStencilFormat (VkFormat format);
DvkImageUtil.cpp65 bool isDepthStencilFormat (VkFormat format) in isDepthStencilFormat() function
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1218 …const bool isDepthStencilFormat = (format >= VK_FORMAT_D16_UNORM && format <= VK_FORMAT_D32_SFLOAT… in isFormatMatchingAspect() local
1220 …turn (aspect == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) == isDepthStencilFormat; in isFormatMatchingAspect()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp245 const bool depthStencilFormat = isDepthStencilFormat(colorFormat); in ImageAttachment()