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