/external/mesa3d/src/intel/vulkan/ |
D | vk_format_info.h | 38 return VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_aspects() 43 return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_aspects() 65 return aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT); in vk_format_is_depth_or_stencil()
|
D | anv_image.c | 64 case VK_IMAGE_ASPECT_STENCIL_BIT: in choose_isl_surf_usage() 102 case VK_IMAGE_ASPECT_STENCIL_BIT: in get_surface() 429 case VK_IMAGE_ASPECT_STENCIL_BIT: in anv_GetImageSubresourceLayout() 755 case VK_IMAGE_ASPECT_STENCIL_BIT: in anv_image_get_surface_for_aspect_mask() 756 assert(image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT); in anv_image_get_surface_for_aspect_mask() 758 case VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT: in anv_image_get_surface_for_aspect_mask() 773 assert(image->aspects == VK_IMAGE_ASPECT_STENCIL_BIT); in anv_image_get_surface_for_aspect_mask()
|
D | anv_blorp.c | 175 if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT || in get_blorp_surf_for_anv_image() 869 if (image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in anv_CmdClearDepthStencilImage() 870 get_blorp_surf_for_anv_image(image, VK_IMAGE_ASPECT_STENCIL_BIT, in anv_CmdClearDepthStencilImage() 881 bool clear_stencil = pRanges[r].aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT; in anv_CmdClearDepthStencilImage() 1001 bool clear_stencil = attachment->aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT; in clear_depth_stencil_attachment() 1268 VK_IMAGE_ASPECT_STENCIL_BIT; in anv_cmd_buffer_clear_subpass()
|
D | anv_formats.c | 264 if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT) { in anv_get_format() 265 assert(vk_format_aspects(vk_format) & VK_IMAGE_ASPECT_STENCIL_BIT); in anv_get_format()
|
D | anv_dump.c | 431 case VK_IMAGE_ASPECT_STENCIL_BIT: suffix = 's'; break; in anv_dump_add_framebuffer()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_clear.c | 578 .stencilTestEnable = (aspects & VK_IMAGE_ASPECT_STENCIL_BIT), in create_depthstencil_pipeline() 603 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in create_depthstencil_pipeline() 649 case VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT: in pick_depthstencil_pipeline() 653 case VK_IMAGE_ASPECT_STENCIL_BIT: in pick_depthstencil_pipeline() 678 aspects == VK_IMAGE_ASPECT_STENCIL_BIT || in emit_depthstencil_clear() 680 VK_IMAGE_ASPECT_STENCIL_BIT)); in emit_depthstencil_clear() 715 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in emit_depthstencil_clear() 800 VK_IMAGE_ASPECT_STENCIL_BIT, in radv_device_init_meta_clear_state() 810 VK_IMAGE_ASPECT_STENCIL_BIT, in radv_device_init_meta_clear_state() 925 VK_IMAGE_ASPECT_STENCIL_BIT)); in emit_clear()
|
D | vk_format.h | 243 return VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_aspects() 248 return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_aspects()
|
D | radv_meta_copy.c | 87 else if (subres->aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) in blit_surf_for_image_level_layer()
|
/external/vulkan-validation-layers/layers/ |
D | image.cpp | 557 if ((aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) == 0) { in CreateImageView() 565 … if ((aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) != aspectMask) { in CreateImageView() 589 if ((aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) != VK_IMAGE_ASPECT_STENCIL_BIT) { in CreateImageView() 596 if ((aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) != aspectMask) { in CreateImageView() 671 … ((pRanges[i].aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) != VK_IMAGE_ASPECT_STENCIL_BIT)) { in CmdClearDepthStencilImage() 820 …egions[i].srcSubresource.aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT))) { in PreCallValidateCmdCopyImage() 976 ((aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) != VK_IMAGE_ASPECT_STENCIL_BIT)) { in CmdClearAttachments() 1060 (aspectMask != VK_IMAGE_ASPECT_STENCIL_BIT)) { in CmdCopyImageToBuffer() 1095 (aspectMask != VK_IMAGE_ASPECT_STENCIL_BIT)) { in CmdCopyBufferToImage() 1205 … if ((srcAspect != VK_IMAGE_ASPECT_DEPTH_BIT) && (srcAspect != VK_IMAGE_ASPECT_STENCIL_BIT)) { in CmdBlitImage() [all …]
|
D | parameter_validation.cpp | 1156 …its allFlags = (VkImageAspectFlagBits)(VK_IMAGE_ASPECT_METADATA_BIT | VK_IMAGE_ASPECT_STENCIL_BIT | in ValidateEnumerator() 1174 if (enumerator & VK_IMAGE_ASPECT_STENCIL_BIT) { in EnumeratorString() 2011 (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT | in PostGetImageSparseMemoryRequirements() 2045 …aspectMask & (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT | in PostGetPhysicalDeviceSparseImageFormatProperties() 2572 …aspectMask & (VK_IMAGE_ASPECT_COLOR_BIT | VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT | in PreGetImageSubresourceLayout() 4201 … VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdCopyImage() 4208 … VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdCopyImage() 4240 … VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdBlitImage() 4247 … VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdBlitImage() 4279 … VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdCopyBufferToImage() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkImage.cpp | 18 return VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_to_aspect_flags() 21 return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_to_aspect_flags()
|
D | GrVkImageView.cpp | 31 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Create()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawImageObjectUtil.cpp | 181 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readSurface() 206 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readVolume() 229 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readSurface1D() 488 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadVolume() 510 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadSurface() 532 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadSurface1D() 859 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK_IMAGE_LAYOUT_UNDEF… in initialTransitionStencil2DImage() 869 …mage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK… in initialTransitionDepthStencil2DImage()
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationOperationResources.hpp | 54 …28, 128, 0, 0), vk::VK_IMAGE_TYPE_2D, vk::VK_FORMAT_S8_UINT, vk::VK_IMAGE_ASPECT_STENCIL_BIT },
|
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsEarlyFragmentTests.cpp | 432 VK_IMAGE_ASPECT_STENCIL_BIT, // VkImageAspectFlags aspectMask; in commandClearStencilAttachment() 451 …t.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags() 453 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineRenderToImageTests.cpp | 800 case tcu::TextureFormat::DS: return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in getFormatAspectFlags() 802 case tcu::TextureFormat::S: return VK_IMAGE_ASPECT_STENCIL_BIT; in getFormatAspectFlags() 1008 const bool useStencil = (depthStencilAspect & VK_IMAGE_ASPECT_STENCIL_BIT) != 0; in testWithSizeReduction() 1260 const bool useStencil = (depthStencilAspect & VK_IMAGE_ASPECT_STENCIL_BIT) != 0; in drawToMipLevel()
|
D | vktPipelineStencilTests.cpp | 385 …mapVkFormat(m_stencilFormat).order == tcu::TextureFormat::DS ? VK_IMAGE_ASPECT_STENCIL_BIT | VK_IM… in StencilTestInstance() 386 : VK_IMAGE_ASPECT_STENCIL_BIT); in StencilTestInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassTests.cpp | 431 return VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags() 437 return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags() 1350 …ImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), VK_IMAGE_ASPECT_STENCIL_BIT); in AttachmentResources() 1493 return VK_IMAGE_ASPECT_STENCIL_BIT; in getPrimaryImageAspect() 2219 …VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR ? VK_IMAGE_ASPECT_STENCIL_BIT : 0)), in pushRenderCommands() 2303 | (hasStencil ? (VkImageAspectFlags)VK_IMAGE_ASPECT_STENCIL_BIT : 0u), // aspect; in pushRenderCommands() 2431 | (hasStencilComponent(format.order) ? VK_IMAGE_ASPECT_STENCIL_BIT : 0)), in pushImageInitializationCommands() 2642 VK_IMAGE_ASPECT_STENCIL_BIT, // aspect in pushReadImagesToBuffers() 5982 | (isStencilAttachment ? (VkImageAspectFlags)VK_IMAGE_ASPECT_STENCIL_BIT : 0u) in addFormatTests() 6041 | (isStencilAttachment ? (VkImageAspectFlags)VK_IMAGE_ASPECT_STENCIL_BIT : 0u) in addFormatTests() [all …]
|
D | vktRenderPassMultisampleTests.cpp | 112 | (hasStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : (VkImageAspectFlagBits)0u); in getImageAspectFlags() 284 aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT) in createSrcPrimaryInputImageView() 302 if (aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT)) in createSrcSecondaryInputImageView() 306 VK_IMAGE_ASPECT_STENCIL_BIT, in createSrcSecondaryInputImageView()
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateRSTests.cpp | 288 …bresourceRangeDepthStencil[2] = { vk::VK_IMAGE_ASPECT_DEPTH_BIT, vk::VK_IMAGE_ASPECT_STENCIL_BIT }; in beginRenderPassWithClearColor() 310 …pthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK… in beginRenderPassWithClearColor()
|
D | vktDynamicStateDSTests.cpp | 315 …bresourceRangeDepthStencil[2] = { vk::VK_IMAGE_ASPECT_DEPTH_BIT, vk::VK_IMAGE_ASPECT_STENCIL_BIT }; in beginRenderPassWithClearColor() 334 …pthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK… in beginRenderPassWithClearColor()
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiImageClearingTests.cpp | 619 imageAspectFlags |= VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags() 907 … aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT ? getStencilCopyFormat(m_params.imageFormat) : in readImage() 1057 de::MovePtr<TextureLevelPyramid> image = readImage(VK_IMAGE_ASPECT_STENCIL_BIT, arrayLayer); in verifyResultImage()
|
D | vktApiGranularityTests.cpp | 198 aspectFlags |= VK_IMAGE_ASPECT_STENCIL_BIT; in initImages()
|
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
D | vktMemoryRequirementsTests.cpp | 1045 … VK_IMAGE_ASPECT_COLOR_BIT || aspect == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)); in isFormatMatchingAspect() 1050 …return (aspect == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) == isDepthStencilForm… in isFormatMatchingAspect() 1316 …kImageAspectFlags depthStencilAspect = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in execTest()
|
/external/vulkan-validation-layers/tests/ |
D | vktestbinding.h | 691 case VK_IMAGE_ASPECT_STENCIL_BIT: in subresource() 692 case VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT: in subresource()
|