radv,radeonsi: call ac_nir_lower_global_access and nir_lower_int64 for gs copy shaders
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36936>
This commit is contained in:
committed by
Marge Bot
parent
a02eb9a360
commit
2622a3bc47
@@ -2440,6 +2440,9 @@ radv_create_gs_copy_shader(struct radv_device *device, struct vk_pipeline_cache
|
||||
AC_HW_VERTEX_SHADER, 64, 64, &gs_copy_stage.args.ac);
|
||||
NIR_PASS(_, nir, radv_nir_lower_abi, pdev->info.gfx_level, &gs_copy_stage, gfx_state, pdev->info.address32_hi);
|
||||
|
||||
NIR_PASS(_, nir, ac_nir_lower_global_access);
|
||||
NIR_PASS(_, nir, nir_lower_int64);
|
||||
|
||||
struct radv_graphics_pipeline_key key = {0};
|
||||
bool dump_shader = radv_can_dump_shader(device, nir);
|
||||
|
||||
|
||||
@@ -1863,6 +1863,9 @@ si_nir_generate_gs_copy_shader(struct si_screen *sscreen,
|
||||
sscreen->info.has_ls_vgpr_init_bug, AC_HW_VERTEX_SHADER, 64, 64,
|
||||
&linked.consumer.args.ac);
|
||||
|
||||
NIR_PASS(_, nir, ac_nir_lower_global_access);
|
||||
NIR_PASS(_, nir, nir_lower_int64);
|
||||
|
||||
si_nir_opts(gs_selector->screen, nir, false);
|
||||
|
||||
NIR_PASS(_, nir, nir_lower_load_const_to_scalar);
|
||||
|
||||
Reference in New Issue
Block a user