Home
last modified time | relevance | path

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

123

/external/swiftshader/src/Vulkan/
DVkImage.cpp83 (pRegion.srcSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT)) || in copyTo()
92 (pRegion.dstSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT)) || in copyTo()
161 (region.imageSubresource.aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT))) in copy()
300 ASSERT((flags & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) != in rowPitchBytes()
301 (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)); in rowPitchBytes()
308 ASSERT((flags & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) != in slicePitchBytes()
309 (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)); in slicePitchBytes()
317 ASSERT((flags & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) != in bytesPerTexel()
318 (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)); in bytesPerTexel()
339 case VK_IMAGE_ASPECT_STENCIL_BIT: in getFormat()
[all …]
DVkFramebuffer.cpp61 (clearStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : 0), in clear()
87 else if(attachment.aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) in clear()
/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()
92 return aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT); in vk_format_is_depth_or_stencil()
Danv_image.c66 case VK_IMAGE_ASPECT_STENCIL_BIT: in choose_isl_surf_usage()
773 assert(aspect != VK_IMAGE_ASPECT_STENCIL_BIT); in anv_layout_to_aux_usage()
1397 case VK_IMAGE_ASPECT_STENCIL_BIT: in anv_image_get_surface_for_aspect_mask()
1398 assert(image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT); in anv_image_get_surface_for_aspect_mask()
1399 sanitized_mask = VK_IMAGE_ASPECT_STENCIL_BIT; in anv_image_get_surface_for_aspect_mask()
1401 case VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT: in anv_image_get_surface_for_aspect_mask()
1416 assert(image->aspects == VK_IMAGE_ASPECT_STENCIL_BIT); in anv_image_get_surface_for_aspect_mask()
1417 sanitized_mask = VK_IMAGE_ASPECT_STENCIL_BIT; in anv_image_get_surface_for_aspect_mask()
Dgen8_cmd_buffer.c353 (ds_iview->image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) && in want_stencil_pma_fix()
361 (ds_iview->image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) && in want_stencil_pma_fix()
Danv_blorp.c199 if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT || in get_blorp_surf_for_anv_image()
856 if (image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in anv_CmdClearDepthStencilImage()
858 image, VK_IMAGE_ASPECT_STENCIL_BIT, in anv_CmdClearDepthStencilImage()
869 bool clear_stencil = pRanges[r].aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT; in anv_CmdClearDepthStencilImage()
1020 bool clear_stencil = attachment->aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT; in clear_depth_stencil_attachment()
1253 VK_IMAGE_ASPECT_STENCIL_BIT; in anv_cmd_buffer_clear_subpass()
Danv_formats.c427 if (aspect & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { in anv_get_format_plane()
429 (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)); in anv_get_format_plane()
482 if (aspects & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { in get_image_format_features()
Danv_private.h2256 case VK_IMAGE_ASPECT_STENCIL_BIT: in anv_image_aspect_to_plane()
2277 VK_IMAGE_ASPECT_STENCIL_BIT | in anv_image_aspect_get_planes()
2286 (aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) != 0) in anv_image_aspect_get_planes()
2303 assert(image_aspects == VK_IMAGE_ASPECT_STENCIL_BIT); in anv_plane_to_aspect()
2304 return VK_IMAGE_ASPECT_STENCIL_BIT; in anv_plane_to_aspect()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_clear.c506 .stencilTestEnable = (aspects & VK_IMAGE_ASPECT_STENCIL_BIT), in create_depthstencil_pipeline()
531 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in create_depthstencil_pipeline()
559 ((aspects & VK_IMAGE_ASPECT_STENCIL_BIT) && clear_value.stencil != 0))) in depth_view_can_fast_clear()
590 case VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT: in pick_depthstencil_pipeline()
594 case VK_IMAGE_ASPECT_STENCIL_BIT: in pick_depthstencil_pipeline()
628 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in emit_depthstencil_clear()
663 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in emit_depthstencil_clear()
720 if (vk_format_aspects(iview->image->vk_format) & VK_IMAGE_ASPECT_STENCIL_BIT) { in emit_fast_htile_clear()
721 if (clear_value.stencil != 0 || !(aspects & VK_IMAGE_ASPECT_STENCIL_BIT)) in emit_fast_htile_clear()
836 VK_IMAGE_ASPECT_STENCIL_BIT, in radv_device_init_meta_clear_state()
[all …]
Dvk_format.h241 return VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_aspects()
246 return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_aspects()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp184 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readSurface()
209 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readVolume()
232 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readSurface1D()
466 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadVolume()
488 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadSurface()
510 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadSurface1D()
808 …transition2DImage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK_IMAGE_LAYOUT_UNDEF… in initialTransitionStencil2DImage()
818 …mage(vk, cmdBuffer, image, vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCIL_BIT, vk::VK… in initialTransitionDepthStencil2DImage()
/external/skqp/src/gpu/vk/
DGrVkImage.cpp74 return VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_to_aspect_flags()
77 return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_to_aspect_flags()
DGrVkImageView.cpp52 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Create()
/external/skia/src/gpu/vk/
DGrVkImage.cpp77 return VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_to_aspect_flags()
80 return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in vk_format_to_aspect_flags()
DGrVkImageView.cpp52 viewInfo.subresourceRange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in Create()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1071 image_aspect = VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT; in Init()
1075 image_aspect = VK_IMAGE_ASPECT_STENCIL_BIT; in Init()
1108 image_aspect = VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT; in init()
1112 image_aspect = VK_IMAGE_ASPECT_STENCIL_BIT; in init()
1652 subrange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in ClearAllBuffers()
1654 …ormatIsStencilOnly(depth_stencil_obj->format())) subrange.aspectMask = VK_IMAGE_ASPECT_STENCIL_BIT; in ClearAllBuffers()
1699 VkImageAspectFlags aspect = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in PrepareAttachments()
1701 if (FormatIsStencilOnly(depth_stencil_att->Format())) aspect = VK_IMAGE_ASPECT_STENCIL_BIT; in PrepareAttachments()
1792 VkImageAspectFlags aspect = VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT; in Init()
1796 aspect = VK_IMAGE_ASPECT_STENCIL_BIT; in Init()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp181 VK_IMAGE_ASPECT_STENCIL_BIT, // VkImageAspectFlags aspectMask; in commandClearStencilAttachment()
200 …t.order == tcu::TextureFormat::DS) return VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
202 else if (tcuFormat.order == tcu::TextureFormat::S) return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
/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/vulkan-validation-layers/layers/
Dbuffer_validation.cpp73 SetLayout(device_data, pObject, imgpair, layout, VK_IMAGE_ASPECT_STENCIL_BIT); in SetLayout()
161 FindLayoutVerifyNode(device_data, pCB, imgpair, node, VK_IMAGE_ASPECT_STENCIL_BIT); in FindCmdBufLayout()
183 FindLayoutVerifyLayout(device_data, imgpair, layout, VK_IMAGE_ASPECT_STENCIL_BIT); in FindGlobalLayout()
240 FindLayout(imageLayoutMap, imgpair, layout, VK_IMAGE_ASPECT_STENCIL_BIT); in FindLayout()
296 … (image_subresource_range.aspectMask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) { in SetImageLayout()
298 sub.aspectMask |= (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT); in SetImageLayout()
670 if ((aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) != 0) { in VerifyAspectsPresent()
817 auto const ds_mask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT; in ValidateBarriersToImages()
837 …teImageAspectLayout(device_data, cb_state, img_barrier, level, layer, VK_IMAGE_ASPECT_STENCIL_BIT); in ValidateBarriersToImages()
1103 VK_IMAGE_ASPECT_STENCIL_BIT); in TransitionImageLayouts()
[all …]
Dconvert_to_renderpass2.cpp195 attachment_ref.aspectMask |= VK_IMAGE_ASPECT_STENCIL_BIT; in ConvertVkRenderPassCreateInfoToV2KHR()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp117 | (hasStencil ? VK_IMAGE_ASPECT_STENCIL_BIT : (VkImageAspectFlagBits)0u); in getImageAspectFlags()
289 aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT) in createSrcPrimaryInputImageView()
307 if (aspect == (VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT)) in createSrcSecondaryInputImageView()
311 VK_IMAGE_ASPECT_STENCIL_BIT, in createSrcSecondaryInputImageView()
1324 VK_IMAGE_ASPECT_STENCIL_BIT, // VkImageAspectFlags aspectMask; in iterateInternal()
DvktRenderPassDepthStencilResolveTests.cpp768 testingDepth ? VK_IMAGE_ASPECT_DEPTH_BIT : VK_IMAGE_ASPECT_STENCIL_BIT, in submit()
1154 (hasStencil * VK_IMAGE_ASPECT_STENCIL_BIT); in initTests()
1283 (hasStencil * VK_IMAGE_ASPECT_STENCIL_BIT); in initTests()
DvktRenderPassTests.cpp447 return VK_IMAGE_ASPECT_STENCIL_BIT | VK_IMAGE_ASPECT_DEPTH_BIT; in getImageAspectFlags()
453 return VK_IMAGE_ASPECT_STENCIL_BIT; in getImageAspectFlags()
1406 …ImageAttachmentView(vk, device, *m_image, attachmentInfo.getFormat(), VK_IMAGE_ASPECT_STENCIL_BIT); in AttachmentResources()
1554 return VK_IMAGE_ASPECT_STENCIL_BIT; in getPrimaryImageAspect()
2277 … != VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL ? VK_IMAGE_ASPECT_STENCIL_BIT : 0)), in pushRenderCommands()
2361 | (hasStencil ? (VkImageAspectFlags)VK_IMAGE_ASPECT_STENCIL_BIT : 0u), // aspect; in pushRenderCommands()
2489 | (hasStencilComponent(format.order) ? VK_IMAGE_ASPECT_STENCIL_BIT : 0)), in pushImageInitializationCommands()
2730 VK_IMAGE_ASPECT_STENCIL_BIT, // aspect in pushReadImagesToBuffers()
6286 | (isStencilAttachment ? (VkImageAspectFlags)VK_IMAGE_ASPECT_STENCIL_BIT : 0u); in addFormatTests()
6483 | (isStencilAttachment ? (VkImageAspectFlags)VK_IMAGE_ASPECT_STENCIL_BIT : 0u) in addFormatTests()
[all …]
/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()
307 …er, m_depthStencilImage->object(), vk::VK_IMAGE_ASPECT_DEPTH_BIT | vk::VK_IMAGE_ASPECT_STENCIL_BIT, in beginRenderPassWithClearColor()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilTests.cpp382 …mapVkFormat(m_stencilFormat).order == tcu::TextureFormat::DS ? VK_IMAGE_ASPECT_STENCIL_BIT | VK_IM… in StencilTestInstance()
383 : VK_IMAGE_ASPECT_STENCIL_BIT); in StencilTestInstance()

123