Lines Matching refs:aspects
484 VkImageAspectFlags aspects, in create_depthstencil_pipeline() argument
502 .depthTestEnable = (aspects & VK_IMAGE_ASPECT_DEPTH_BIT), in create_depthstencil_pipeline()
504 .depthWriteEnable = (aspects & VK_IMAGE_ASPECT_DEPTH_BIT), in create_depthstencil_pipeline()
506 .stencilTestEnable = (aspects & VK_IMAGE_ASPECT_STENCIL_BIT), in create_depthstencil_pipeline()
527 if (aspects & VK_IMAGE_ASPECT_DEPTH_BIT) { in create_depthstencil_pipeline()
531 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in create_depthstencil_pipeline()
544 VkImageAspectFlags aspects, in depth_view_can_fast_clear() argument
557 (((aspects & VK_IMAGE_ASPECT_DEPTH_BIT) && clear_value.depth != 0.0 && in depth_view_can_fast_clear()
559 ((aspects & VK_IMAGE_ASPECT_STENCIL_BIT) && clear_value.stencil != 0))) in depth_view_can_fast_clear()
575 VkImageAspectFlags aspects, in pick_depthstencil_pipeline() argument
580 bool fast = depth_view_can_fast_clear(cmd_buffer, iview, aspects, layout, clear_rect, clear_value); in pick_depthstencil_pipeline()
589 switch (aspects) { in pick_depthstencil_pipeline()
611 VkImageAspectFlags aspects = clear_att->aspectMask; in emit_depthstencil_clear() local
619 if (!(aspects & VK_IMAGE_ASPECT_DEPTH_BIT)) in emit_depthstencil_clear()
628 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in emit_depthstencil_clear()
637 aspects, in emit_depthstencil_clear()
645 if (depth_view_can_fast_clear(cmd_buffer, iview, aspects, in emit_depthstencil_clear()
648 radv_set_depth_clear_regs(cmd_buffer, iview->image, clear_value, aspects); in emit_depthstencil_clear()
663 if (aspects & VK_IMAGE_ASPECT_STENCIL_BIT) { in emit_depthstencil_clear()
682 VkImageAspectFlags aspects = clear_att->aspectMask; in emit_fast_htile_clear() local
717 …if ((clear_value.depth != 0.0 && clear_value.depth != 1.0) || !(aspects & VK_IMAGE_ASPECT_DEPTH_BI… in emit_fast_htile_clear()
721 if (clear_value.stencil != 0 || !(aspects & VK_IMAGE_ASPECT_STENCIL_BIT)) in emit_fast_htile_clear()
739 radv_set_depth_clear_regs(cmd_buffer, iview->image, clear_value, aspects); in emit_fast_htile_clear()