mesa/src/amd/common/nir
Marek Olšák 9125e34372 amd: lower get_ssbo_size in ac_nir_lower_resinfo
The code for lowering get_ssbo_size will be different in future chips,
so do it in common code to reduce duplication in the future.

Lower get_ssbo_size to ssbo_descriptor_amd + nir_channel.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38097>
2025-11-02 01:42:07 +00:00
..
ac_nir.c ac/nir: set support_indirect_inputs/outputs in common code 2025-10-31 00:57:46 +00:00
ac_nir.h amd: keep ac_shader_config::lds_size unaligned 2025-10-15 11:20:09 +00:00
ac_nir_create_gs_copy_shader.c ac/nir: set subgroup size for gs copy shader 2025-09-14 13:21:21 +00:00
ac_nir_cull.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ac_nir_helpers.h ac/nir: remove pack_clip_cull_distances option 2025-07-12 10:28:21 +00:00
ac_nir_lower_esgs_io_to_mem.c ac/nir: mark all input loads as reorderable and speculatable (for LICM) 2025-07-24 06:31:16 +00:00
ac_nir_lower_global_access.c ac/nir_lower_global_access: don't assume pack_64_2x32 is the same as u2u64 2025-10-08 08:53:58 +00:00
ac_nir_lower_image_opcodes_cdna.c treewide: simplify nir_def_rewrite_uses_after 2025-08-01 15:34:24 +00:00
ac_nir_lower_intrinsics_to_args.c treewide: use nir_def_as_* 2025-08-01 15:34:24 +00:00
ac_nir_lower_legacy_gs.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ac_nir_lower_legacy_vs.c ac/nir: remove pack_clip_cull_distances option 2025-07-12 10:28:21 +00:00
ac_nir_lower_mem_access_bit_sizes.c amd/lower_mem_access_bit_sizes: fix shared access when bytes<bit_size/8 2025-10-21 22:10:34 +00:00
ac_nir_lower_ngg.c ac/nir: stop using NIR_PASS in ac_nir_lower_ngg_nogs() 2025-10-23 10:44:38 +00:00
ac_nir_lower_ngg_gs.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ac_nir_lower_ngg_mesh.c ac/nir/ngg_mesh: Lower num_subgroups to constant 2025-10-20 14:05:40 +00:00
ac_nir_lower_ps_early.c treewide: use nir_def_as_* 2025-08-01 15:34:24 +00:00
ac_nir_lower_ps_late.c ac/nir/lower_ps: remove barrier for end_invocation_interlock 2025-08-04 09:30:06 +00:00
ac_nir_lower_resinfo.c amd: lower get_ssbo_size in ac_nir_lower_resinfo 2025-11-02 01:42:07 +00:00
ac_nir_lower_sin_cos.c
ac_nir_lower_taskmesh_io_to_mem.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ac_nir_lower_tess_io_to_mem.c amd: keep ac_shader_config::lds_size unaligned 2025-10-15 11:20:09 +00:00
ac_nir_lower_tex.c ac/nir: don't consider quads incomplete inside loops 2025-10-23 11:22:02 +00:00
ac_nir_meta.h amd: constify struct radeon_surf 2025-10-29 12:50:44 +00:00
ac_nir_meta_cs_blit.c ac/nir/meta: allow compute blits with R5G6B5 & R5G5B5A1 formats on GFX9+ 2025-08-07 18:12:52 +00:00
ac_nir_meta_cs_clear_copy_buffer.c build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
ac_nir_meta_ps_resolve.c treewide: use nir_def_as_* 2025-08-01 15:34:24 +00:00
ac_nir_opt_outputs.c treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
ac_nir_opt_pack_half.c
ac_nir_opt_shared_append.c
ac_nir_prerast_utils.c ac/nir: rename ac_nir_get_lds_gs_out_slot_offset -> ac_nir_get_gs_out_lds_offset 2025-07-12 10:28:21 +00:00
ac_nir_surface.c ac/nir: Move surface related NIR functions to separate file. 2025-02-12 22:33:07 +01:00
ac_nir_surface.h ac/nir: Move surface related NIR functions to separate file. 2025-02-12 22:33:07 +01:00