Home
last modified time | relevance | path

Searched refs:VK_IMAGE_ASPECT_STENCIL_BIT (Results 1 – 25 of 54) sorted by relevance

123

/external/mesa3d/src/intel/vulkan/
Dvk_format_info.h38 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()
Danv_image.c64 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()
Danv_blorp.c175 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()
Danv_formats.c264 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()
Danv_dump.c431 case VK_IMAGE_ASPECT_STENCIL_BIT: suffix = 's'; break; in anv_dump_add_framebuffer()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c578 .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()
Dvk_format.h243 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()
Dradv_meta_copy.c87 else if (subres->aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT) in blit_surf_for_image_level_layer()
/external/vulkan-validation-layers/layers/
Dimage.cpp557 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 …]
Dparameter_validation.cpp1156 …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()
4201VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdCopyImage()
4208VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdCopyImage()
4240VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdBlitImage()
4247VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdBlitImage()
4279VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_METADATA_BIT)) == 0) { in PreCmdCopyBufferToImage()
[all …]
/external/skia/src/gpu/vk/
DGrVkImage.cpp18 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()
DGrVkImageView.cpp31 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Create()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp181 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/
DvktSynchronizationOperationResources.hpp54 …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/
DvktFragmentOperationsEarlyFragmentTests.cpp432 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/
DvktPipelineRenderToImageTests.cpp800 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()
DvktPipelineStencilTests.cpp385 …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/
DvktRenderPassTests.cpp431 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 …]
DvktRenderPassMultisampleTests.cpp112 | (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/
DvktDynamicStateRSTests.cpp288 …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()
DvktDynamicStateDSTests.cpp315 …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/
DvktApiImageClearingTests.cpp619 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()
DvktApiGranularityTests.cpp198 aspectFlags |= VK_IMAGE_ASPECT_STENCIL_BIT; in initImages()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryRequirementsTests.cpp1045 … 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/
Dvktestbinding.h691 case VK_IMAGE_ASPECT_STENCIL_BIT: in subresource()
692 case VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT: in subresource()

123