mesa/src/amd/vulkan
Konstantin Seurer 03105138f1 radv/rt: Get rid of accel struct null checks
Quake II RTX ray queries:

Totals from 7 (14.29% of 49) affected shaders:
CodeSize: 167220 -> 165560 (-0.99%)
Instrs: 31674 -> 31454 (-0.69%)
Latency: 385145 -> 596737 (+54.94%)
InvThroughput: 78837 -> 122005 (+54.76%)
Copies: 4740 -> 4667 (-1.54%); split: -1.60%, +0.06%
Branches: 1565 -> 1493 (-4.60%)
PreSGPRs: 488 -> 501 (+2.66%); split: -0.41%, +3.07%
PreVGPRs: 617 -> 620 (+0.49%)

Performance stays the same.

Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20539>
2023-01-15 21:30:21 +00:00
..
bvh radv/bvh: Handle inactive triangles and AABBs 2022-12-19 09:37:56 +00:00
layers radv: Add a helper for finding memory indices 2023-01-15 21:30:21 +00:00
radix_sort meson: do not use source_root() when possible 2022-11-22 06:11:07 +00:00
winsys radv/winsys: fill real info for CHIP_GFX1100 2023-01-09 17:28:05 +00:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
meson.build radv: Add RMV tracing layer 2023-01-11 06:55:04 +00:00
radv_acceleration_structure.c radv: Create a null TLAS as meta state 2023-01-15 21:30:21 +00:00
radv_acceleration_structure.h radv/rra: Introduce radv_rra_accel_struct_data 2022-12-02 16:48:07 +00:00
radv_aco_shader_info.h radv,aco: fix enable_mrt_output_nan_fixup for RAGE2 again 2023-01-11 15:55:32 +00:00
radv_android.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_check_va.py radv: add a Python script to check if a VA was ever valid 2020-12-30 08:40:21 +01:00
radv_cmd_buffer.c radv: fix re-emitting RB+ when the non-compacted color format changes 2023-01-13 13:57:40 +00:00
radv_constants.h radv: move GDS counters after reserved GDS offsets for streamout 2022-11-01 19:47:07 +00:00
radv_cs.h radv: stop emitting RMW context registers for updating sample locations 2022-08-26 06:33:05 +00:00
radv_debug.c radv: fix assertion on gpu hang detection 2022-12-12 12:55:07 +00:00
radv_debug.h radv: remove enabling out-of-order rasterization internally 2023-01-06 08:11:17 +00:00
radv_descriptor_set.c radv: Use the null accel struct instead of emitting 0 2023-01-15 21:30:21 +00:00
radv_descriptor_set.h radv: Use vk_descriptor_set_layout 2022-08-02 14:16:14 +00:00
radv_device.c radv: Add a helper for finding memory indices 2023-01-15 21:30:21 +00:00
radv_device_generated_commands.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_formats.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_image.c radv: fix missing implementation of creating images from swapchains 2023-01-13 07:42:33 +00:00
radv_llvm_helper.cpp radv: Rename radv_shader_helper.h to radv_llvm_helper.h 2021-10-01 10:40:18 +02:00
radv_llvm_helper.h radv: Rename radv_shader_helper.h to radv_llvm_helper.h 2021-10-01 10:40:18 +02:00
radv_meta.c radv: Create a null TLAS as meta state 2023-01-15 21:30:21 +00:00
radv_meta.h radv: Create a null TLAS as meta state 2023-01-15 21:30:21 +00:00
radv_meta_blit.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_blit2d.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_buffer.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_meta_bufimage.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_clear.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_meta_copy.c radv: Use VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT for render loops 2022-08-23 16:41:56 +00:00
radv_meta_copy_vrs_htile.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_dcc_retile.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_meta_decompress.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_meta_etc_decode.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_fast_clear.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_meta_fmask_copy.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_fmask_expand.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_resolve.c radv: Use internal allocation helpers for internal allocations 2023-01-11 06:55:04 +00:00
radv_meta_resolve_cs.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_meta_resolve_fs.c radv: Use the new NIR builder tex helpers for meta 2023-01-13 20:25:01 +00:00
radv_nir_apply_pipeline_layout.c radv: implement VK_EXT_descriptor_buffer 2022-11-21 07:55:24 +01:00
radv_nir_lower_abi.c nir,radv,radeonsi: add nir_atomic_add_gs_invocation_count_amd 2022-12-13 01:26:42 +00:00
radv_nir_lower_ray_queries.c radv/rt: Get rid of accel struct null checks 2023-01-15 21:30:21 +00:00
radv_nir_lower_ycbcr_textures.c radv: use nir_shader_instructions_pass in radv_nir_lower_ycbcr_textures 2022-09-26 11:13:03 +00:00
radv_nir_to_llvm.c radv,aco: fix enable_mrt_output_nan_fixup for RAGE2 again 2023-01-11 15:55:32 +00:00
radv_perfcounter.c radv: Fixes prototypes 2022-11-11 05:38:19 +00:00
radv_pipeline.c radv: fix hashing pipeline keys if RADV_PERFTEST=ngg_streamout is used 2023-01-13 13:10:12 +00:00
radv_pipeline_cache.c radv/rt: Hash the pipeline key 2022-12-12 18:18:32 +00:00
radv_pipeline_rt.c radv: Add RMV resource tracking 2023-01-11 06:55:04 +00:00
radv_private.h radv: Create a null TLAS as meta state 2023-01-15 21:30:21 +00:00
radv_query.c radv/gfx11: increase radeon_check_space for occlusion query begin 2023-01-12 13:37:42 +00:00
radv_radeon_winsys.h radv/amdgpu: Remove cs_add_buffers because it's no longer necessary. 2022-12-20 14:23:49 +00:00
radv_rmv.c radv: Fix deadlock in radv_rmv_log_event_create 2023-01-12 21:23:39 +00:00
radv_rra.c radv/rra: Fix leaf node id order 2022-12-15 16:00:17 +00:00
radv_rt_common.c radv/rt: Get rid of accel struct null checks 2023-01-15 21:30:21 +00:00
radv_rt_common.h radv: Use correct watermark for early loop exit. 2022-12-11 18:51:29 +00:00
radv_rt_shader.c radv/rt: Get rid of accel struct null checks 2023-01-15 21:30:21 +00:00
radv_sdma_copy_image.c radv: Use get_first_non_void_channel more often 2022-12-02 22:06:11 +00:00
radv_shader.c radv,aco: fix enable_mrt_output_nan_fixup for RAGE2 again 2023-01-11 15:55:32 +00:00
radv_shader.h radv: enable PS epilogs on-demand for some dynamic states 2023-01-10 09:55:29 +00:00
radv_shader_args.c radv: fixes -Werror,-Wunused-but-set-variable for clang-15 in radv_shader_args.c 2022-11-17 23:17:40 +00:00
radv_shader_args.h radv: declare shader arguments/locations for provoking vertex 2022-11-11 08:50:03 +00:00
radv_shader_info.c radv: implement AMD_shader_early_and_late_fragment_tests 2022-12-14 08:16:27 +00:00
radv_spm.c radv: move ac_perfcounters to physical_device. 2022-07-09 12:29:05 +00:00
radv_sqtt.c radv: apply register changes for SQTT on GFX11 2022-12-06 08:19:24 +01:00
radv_wsi.c vulkan/wsi: Prepare things for image to image blits 2023-01-11 09:31:02 +00:00
si_cmd_buffer.c radv: fix guardband if the polygon mode is points or lines 2022-12-06 19:30:51 +00:00
vk_format.h vulkan: Common vk_format_get_component_bits 2022-07-18 22:14:06 +00:00
vulkan.sym radv: Add Android module info to linker script. 2021-01-12 20:17:52 +00:00