mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
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:
parent
260bdad074
commit
e0397b1ee0
3 changed files with 3 additions and 3 deletions
|
|
@ -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 :
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue