mesa/src/amd/vulkan
Rhys Perry 2704a30df0
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
radv: perform nir_opt_access before the first radv_optimize_nir
Two lowered loads might not be CSE'd after nir_lower_explicit_io if one of
them is shrinked. This doesn't happen for deref loads, but it needs the
CAN_REORDER flag first.

fossil-db (gfx1201):
Totals from 556 (0.70% of 79377) affected shaders:
MaxWaves: 14936 -> 14940 (+0.03%); split: +0.05%, -0.03%
Instrs: 2140334 -> 2140942 (+0.03%); split: -0.07%, +0.10%
CodeSize: 11137948 -> 11145416 (+0.07%); split: -0.07%, +0.13%
SpillSGPRs: 2385 -> 2527 (+5.95%); split: -0.34%, +6.29%
Latency: 12310570 -> 12305011 (-0.05%); split: -0.08%, +0.04%
InvThroughput: 2136142 -> 2135516 (-0.03%); split: -0.06%, +0.03%
VClause: 47419 -> 47420 (+0.00%); split: -0.01%, +0.01%
SClause: 58423 -> 58290 (-0.23%); split: -0.36%, +0.14%
Copies: 160626 -> 161321 (+0.43%); split: -0.25%, +0.68%
Branches: 69693 -> 69710 (+0.02%); split: -0.04%, +0.06%
PreSGPRs: 34824 -> 34945 (+0.35%); split: -0.24%, +0.58%
PreVGPRs: 28682 -> 28649 (-0.12%); split: -0.36%, +0.24%
VALU: 1080800 -> 1081171 (+0.03%); split: -0.04%, +0.08%
SALU: 353112 -> 353770 (+0.19%); split: -0.15%, +0.34%
SMEM: 81587 -> 81364 (-0.27%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34162>
2025-05-08 13:30:50 +00:00
..
bvh radv: Optimize the gfx12 encode shader 2025-04-17 20:20:40 +00:00
layers radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
meta radv: fix GPU hangs with image copies for ASTC/ETC2 formats on transfer queue 2025-05-05 13:50:25 +00:00
nir radv/gfx12: use dword3 smem loads for push constants 2025-05-08 13:30:50 +00:00
tests radv/tests: add few tests that verify drirc options 2025-03-12 09:07:16 +00:00
winsys radv: Return VK_ERROR_INCOMPATIBLE_DRIVER for unsupported devices 2025-05-07 08:26:33 +02:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig
meson.build radv: Use the BVH8 format on GFX12 2025-04-17 20:20:40 +00:00
radv_acceleration_structure.c radv/meta: rename more buffer->memory for fill/copy/update operations 2025-04-18 17:21:24 +02:00
radv_aco_shader_info.h aco: remove unused aco_shader_info::tcs_offchip_layout 2025-05-08 02:54:13 +00:00
radv_android.c radv: add address binding report support for BOs imported with a fd 2024-12-03 08:13:13 +00:00
radv_android.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_buffer.c radv: switch to device address from vk_buffer 2025-03-06 09:46:01 +00:00
radv_buffer.h radv: switch to device address from vk_buffer 2025-03-06 09:46:01 +00:00
radv_buffer_view.c radv: Remove offset parameter from radv_make_texel_buffer_descriptor. 2025-05-02 09:13:14 +00:00
radv_buffer_view.h radv: Remove offset parameter from radv_make_texel_buffer_descriptor. 2025-05-02 09:13:14 +00:00
radv_check_va.py radv: Add sparse mappings to radv_check_va.py. 2024-11-29 12:57:42 +00:00
radv_cmd_buffer.c radv: Ignore image barrier queue families if equal 2025-04-29 08:15:28 +00:00
radv_cmd_buffer.h radv: track redundant DB_RENDER_OVERRRIDE register writes on GFX12 2025-04-10 06:56:25 +00:00
radv_constants.h radv: allocate memory for the shader query buffer on GFX12 2025-01-21 08:42:32 +00:00
radv_cp_dma.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_cp_dma.h radv: rename fill/copy memory helpers 2025-02-13 13:47:14 +01:00
radv_cp_reg_shadowing.c ac: remove gfx11_emulate_clear_state 2025-05-02 18:40:11 +00:00
radv_cp_reg_shadowing.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_cs.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_cs.h radv: use radeon_set_sh_reg() for only 1 DWORD 2025-04-17 12:49:47 +00:00
radv_debug.c radv: dump the Mesa version with RADV_DEBUG=hang 2024-12-09 18:25:24 +00:00
radv_debug.h radv: Use the BVH8 format on GFX12 2025-04-17 20:20:40 +00:00
radv_descriptor_set.c radv: Remove offset parameter from radv_make_texel_buffer_descriptor. 2025-05-02 09:13:14 +00:00
radv_descriptor_set.h radv: use blake3 for hashing pipeline layouts 2024-07-10 07:35:19 +00:00
radv_device.c radv/sdma: simplify configuring the number of uncompressed DCC blocks 2025-04-16 06:57:00 +00:00
radv_device.h radv: Use the BVH8 format on GFX12 2025-04-17 20:20:40 +00:00
radv_device_memory.c radv: only enable DCC for invisible VRAM on GFX12 2025-04-14 07:39:33 +00:00
radv_device_memory.h radv: add import and export handle_type in radv_alloc_memory 2025-03-03 08:26:51 +00:00
radv_dgc.c radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
radv_dgc.h radv/meta: convert DGC pipeline layout to vk_meta 2024-12-29 18:31:50 +00:00
radv_event.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_event.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_formats.c radv: Add radv_format_description to remap 10/12bit formats to 16bit 2025-04-02 08:40:28 +00:00
radv_formats.h radv: Add radv_format_description to remap 10/12bit formats to 16bit 2025-04-02 08:40:28 +00:00
radv_image.c radv: Add radv_format_description to remap 10/12bit formats to 16bit 2025-04-02 08:40:28 +00:00
radv_image.h radv: check HTILE compression for depth/stencil images per level 2025-02-28 08:05:14 +00:00
radv_image_view.c radv: disable TC-compatible CMASK with {FMASK,DCC}_DECOMPRESS 2025-03-28 19:41:07 +00:00
radv_image_view.h radv: disable TC-compatible CMASK with {FMASK,DCC}_DECOMPRESS 2025-03-28 19:41:07 +00:00
radv_instance.c radv: Use the BVH8 format on GFX12 2025-04-17 20:20:40 +00:00
radv_instance.h radv: Add radv_enable_float16_gfx8 drirc and enable for Indiana Jones TGC 2025-04-09 14:21:37 +00:00
radv_llvm_helper.cpp amd,radeonsi: reduce legacy::PassManager use to only run backend passes 2024-10-05 09:10:06 +00:00
radv_llvm_helper.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_nir_to_llvm.c amd: lower load_local_invocation_index in NIR 2025-01-02 17:36:55 +00:00
radv_nir_to_llvm.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_perfcounter.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_perfcounter.h radv: add more helpers to start/stop perfcounters 2025-03-28 07:49:04 +00:00
radv_physical_device.c radv: Return VK_ERROR_INCOMPATIBLE_DRIVER for unsupported devices 2025-05-07 08:26:33 +02:00
radv_physical_device.h ac/gpu_info: move HS info into radeon_info 2025-04-19 22:55:00 -04:00
radv_pipeline.c radv: apply fneg/fabs modifiers to wmma 2025-04-22 16:08:55 +00:00
radv_pipeline.h radv: add RADV_DEBUG=pso_history 2025-03-07 09:14:18 +01:00
radv_pipeline_binary.c radv: fix creating pipeline binary from the traversal shader 2025-03-25 10:10:06 +00:00
radv_pipeline_binary.h radv: add initial support for pipeline binaries 2024-09-10 08:19:52 +00:00
radv_pipeline_cache.c nir: Don't include the full nir.h when not necessary. 2025-02-12 22:33:07 +01:00
radv_pipeline_cache.h radv: Add missing includes and remove unnecessary NIR includes. 2025-02-12 22:33:07 +01:00
radv_pipeline_compute.c radv: add RADV_DEBUG=pso_history 2025-03-07 09:14:18 +01:00
radv_pipeline_compute.h radv: fix skipping on-disk shaders cache when not useful 2024-11-20 10:01:26 +00:00
radv_pipeline_graphics.c radv: Don't call nir_opt_varyings a second time when unnecessary. 2025-04-11 18:01:47 +00:00
radv_pipeline_graphics.h radv: roll line topology dynamic state changes into existing rast samples flag 2025-03-06 01:26:02 +00:00
radv_pipeline_rt.c radv: add RADV_DEBUG=pso_history 2025-03-07 09:14:18 +01:00
radv_pipeline_rt.h radv: Add missing includes and remove unnecessary NIR includes. 2025-02-12 22:33:07 +01:00
radv_printf.c radv: Handle nir_intrinsic_printf 2025-04-10 19:31:37 +00:00
radv_printf.h radv: Handle nir_intrinsic_printf 2025-04-10 19:31:37 +00:00
radv_query.c radv: simplify radv_fill_xxx() helpers 2025-04-17 08:59:58 +00:00
radv_query.h radv: allocate memory for the shader query buffer on GFX12 2025-01-21 08:42:32 +00:00
radv_queue.c radv: disable SINGLE clear codes to workaround a hw bug with DCC on GFX11 2025-05-05 07:07:58 +00:00
radv_queue.h radv: rename attr_ring to ge_rings 2025-01-14 00:59:38 -08:00
radv_radeon_winsys.h radv: switch back radeon_cmdbuf to use 32-bit counters 2025-04-01 06:18:28 +00:00
radv_rmv.c radv: switch to device address from vk_buffer 2025-03-06 09:46:01 +00:00
radv_rmv.h radv/rmv: fix image binds logging for disjoint images 2024-04-10 11:23:40 +00:00
radv_rra.c radv: Use the BVH8 format on GFX12 2025-04-17 20:20:40 +00:00
radv_rra.h radv: Use the BVH8 format on GFX12 2025-04-17 20:20:40 +00:00
radv_rra_gfx10_3.c radv/rra: Move gfx10_3 specific code to a new file 2025-04-17 20:20:40 +00:00
radv_rra_gfx12.c radv: Use the BVH8 format on GFX12 2025-04-17 20:20:40 +00:00
radv_sampler.c radv: move the disable_trunc_coord drirc at instance/pdev level 2025-04-10 06:36:09 +00:00
radv_sampler.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_sdma.c radv/sdma: add support for compression on GFX12 2025-04-16 06:57:00 +00:00
radv_sdma.h radv/sdma: add a new flag to know if the surface is compressed 2025-04-16 06:57:00 +00:00
radv_shader.c radv: perform nir_opt_access before the first radv_optimize_nir 2025-05-08 13:30:50 +00:00
radv_shader.h radv: simplify combining TES/VS+GS config registers 2025-04-17 12:49:47 +00:00
radv_shader_args.c radv: Remove radv_streamout_info::num_outputs. 2025-04-03 19:54:51 +00:00
radv_shader_args.h radv: declare a new user SGPR for emulating queries on GFX12 2025-01-21 08:42:32 +00:00
radv_shader_info.c nir: split *_accessed_indirectly* bitmasks into *_read/written_indirectly* 2025-05-08 02:54:12 +00:00
radv_shader_info.h radv: Remove radv_streamout_info::num_outputs. 2025-04-03 19:54:51 +00:00
radv_shader_object.c radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
radv_shader_object.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_spm.c radv: print more error messages during SPM initialization 2025-04-16 06:35:33 +00:00
radv_spm.h radv: resize the SPM bo when it's too small 2024-10-29 18:33:17 +00:00
radv_sqtt.c radv: rework command buffer emission with begin/end sequences 2025-04-01 06:18:28 +00:00
radv_sqtt.h radv: add new start/stop sqtt helpers for capturing with SQTT 2024-11-28 07:03:21 +00:00
radv_video.c radv/video: Fix msg header total size 2025-04-11 11:15:47 +00:00
radv_video.h radv/video: Move IB header from begin/end to encode_video 2025-02-18 11:12:22 +00:00
radv_video_enc.c radv/video: Always enable B pictures for H264 encode 2025-04-11 11:15:47 +00:00
radv_wsi.c radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00
radv_wsi.h radv: use SPDX-License-Identifier 2024-04-08 07:17:31 +00:00