all: rename gl_shader_stage_can_set_fragment_shading_rate

Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Acked-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36569>
This commit is contained in:
Qiang Yu 2025-08-05 17:03:53 +08:00
parent 260bdad074
commit e0397b1ee0
3 changed files with 3 additions and 3 deletions

View file

@ -122,7 +122,7 @@ mesa_shader_stage_is_rt(mesa_shader_stage stage)
}
static inline bool
gl_shader_stage_can_set_fragment_shading_rate(mesa_shader_stage stage)
mesa_shader_stage_can_set_fragment_shading_rate(mesa_shader_stage stage)
{
/* According to EXT_fragment_shading_rate :
*

View file

@ -2036,7 +2036,7 @@ brw_postprocess_nir(nir_shader *nir, const struct brw_compiler *compiler,
if (devinfo->ver >= 30)
NIR_PASS(_, nir, brw_nir_lower_sample_index_in_coord);
if (gl_shader_stage_can_set_fragment_shading_rate(nir->info.stage))
if (mesa_shader_stage_can_set_fragment_shading_rate(nir->info.stage))
NIR_PASS(_, nir, intel_nir_lower_shading_rate_output);
OPT(brw_nir_tag_speculative_access);

View file

@ -2463,7 +2463,7 @@ anv_graphics_pipeline_compile(struct anv_graphics_base_pipeline *pipeline,
if (anv_graphics_pipeline_skip_shader_compile(pipeline, stages,
link_optimize, s) ||
!gl_shader_stage_can_set_fragment_shading_rate(s))
!mesa_shader_stage_can_set_fragment_shading_rate(s))
continue;
last_psr = &stages[s];