Skip to content

anv: Drop redundant check for the pipeline stages

Sagar Ghuge requested to merge sagarghuge/mesa:review/drop_redundant_stages into main

What does this MR do and why?

Drop redundant checks for the pipeline stages

VK_PIPELINE_STAGE_2_ALL_GRAPHICS_BIT specifies the execution of all graphics pipeline stages and includes logical OR of:

  VK_PIPELINE_STAGE_2_TASK_SHADER_BIT_EXT
  VK_PIPELINE_STAGE_2_MESH_SHADER_BIT_EXT
  VK_PIPELINE_STAGE_2_VERTEX_INPUT_BIT
  VK_PIPELINE_STAGE_2_VERTEX_SHADER_BIT
  VK_PIPELINE_STAGE_2_TESSELLATION_CONTROL_SHADER_BIT
  VK_PIPELINE_STAGE_2_TESSELLATION_EVALUATION_SHADER_BIT
  VK_PIPELINE_STAGE_2_GEOMETRY_SHADER_BIT
  VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT
  VK_PIPELINE_STAGE_2_EARLY_FRAGMENT_TESTS_BIT
  VK_PIPELINE_STAGE_2_LATE_FRAGMENT_TESTS_BIT
  VK_PIPELINE_STAGE_2_COLOR_ATTACHMENT_OUTPUT_BIT
  VK_PIPELINE_STAGE_2_CONDITIONAL_RENDERING_BIT_EXT
  VK_PIPELINE_STAGE_2_TRANSFORM_FEEDBACK_BIT_EXT
  VK_PIPELINE_STAGE_2_SHADING_RATE_IMAGE_BIT_NV
  VK_PIPELINE_STAGE_2_SUBPASS_SHADER_BIT_HUAWEI
  VK_PIPELINE_STAGE_2_INVOCATION_MASK_BIT_HUAWEI
  VK_PIPELINE_STAGE_2_CLUSTER_CULLING_SHADER_BIT_HUAWEI

Merge request reports

Loading