ac/nir: Rename ac_nir_lower_ngg_ms to ac_nir_lower_ngg_mesh.
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32966>
This commit is contained in:
@@ -194,7 +194,7 @@ void
|
|||||||
ac_nir_lower_ngg_gs(nir_shader *shader, const ac_nir_lower_ngg_options *options);
|
ac_nir_lower_ngg_gs(nir_shader *shader, const ac_nir_lower_ngg_options *options);
|
||||||
|
|
||||||
void
|
void
|
||||||
ac_nir_lower_ngg_ms(nir_shader *shader,
|
ac_nir_lower_ngg_mesh(nir_shader *shader,
|
||||||
enum amd_gfx_level gfx_level,
|
enum amd_gfx_level gfx_level,
|
||||||
uint32_t clipdist_enable_mask,
|
uint32_t clipdist_enable_mask,
|
||||||
const uint8_t *vs_output_param_offset,
|
const uint8_t *vs_output_param_offset,
|
||||||
|
@@ -5020,7 +5020,7 @@ ms_calculate_output_layout(enum amd_gfx_level gfx_level, unsigned api_shared_siz
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ac_nir_lower_ngg_ms(nir_shader *shader,
|
ac_nir_lower_ngg_mesh(nir_shader *shader,
|
||||||
enum amd_gfx_level gfx_level,
|
enum amd_gfx_level gfx_level,
|
||||||
uint32_t clipdist_enable_mask,
|
uint32_t clipdist_enable_mask,
|
||||||
const uint8_t *vs_output_param_offset,
|
const uint8_t *vs_output_param_offset,
|
||||||
|
@@ -803,7 +803,7 @@ radv_lower_ngg(struct radv_device *device, struct radv_shader_stage *ngg_stage,
|
|||||||
unsigned hw_workgroup_size = ALIGN(info->workgroup_size, info->wave_size);
|
unsigned hw_workgroup_size = ALIGN(info->workgroup_size, info->wave_size);
|
||||||
|
|
||||||
bool scratch_ring = false;
|
bool scratch_ring = false;
|
||||||
NIR_PASS_V(nir, ac_nir_lower_ngg_ms, options.gfx_level, options.clip_cull_dist_mask,
|
NIR_PASS_V(nir, ac_nir_lower_ngg_mesh, options.gfx_level, options.clip_cull_dist_mask,
|
||||||
options.vs_output_param_offset, options.has_param_exports, &scratch_ring, info->wave_size,
|
options.vs_output_param_offset, options.has_param_exports, &scratch_ring, info->wave_size,
|
||||||
hw_workgroup_size, gfx_state->has_multiview_view_index, info->ms.has_query, pdev->mesh_fast_launch_2);
|
hw_workgroup_size, gfx_state->has_multiview_view_index, info->ms.has_query, pdev->mesh_fast_launch_2);
|
||||||
ngg_stage->info.ms.needs_ms_scratch_ring = scratch_ring;
|
ngg_stage->info.ms.needs_ms_scratch_ring = scratch_ring;
|
||||||
|
Reference in New Issue
Block a user