mesa/src/amd/vulkan/nir
Friedrich Vock 728f6c0b70 radv/rt: Pre-initialize instance address
It's not disallowed by spec to load instance-related data in case of a
miss where no instance was ever visited. Such loads make no sense, so we
can return garbage, but it mustn't hang the GPU. Initialize the instance
addresses to the TLAS base to make sure we always have valid memory to load from.

Partially fixes GPU hangs in RTX Remix games.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24971>
2023-08-31 16:29:52 +00:00
..
radv_nir.h radv: introduce radv_shader_layout for per-stage descriptor layout 2023-08-10 08:51:05 +00:00
radv_nir_apply_pipeline_layout.c nir: Drop most uses of nir_instr_rewrite_src_ssa() 2023-08-18 01:00:15 +00:00
radv_nir_export_multiview.c nir: Use nir_builder_create 2023-06-27 18:13:02 +00:00
radv_nir_lower_abi.c treewide: Use nir_before/after_impl in easy cases 2023-08-30 19:30:58 +00:00
radv_nir_lower_fs_barycentric.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
radv_nir_lower_fs_intrinsics.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
radv_nir_lower_intrinsics_early.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
radv_nir_lower_io.c radv: re-order IO slot layout for stages that aren't linked 2023-08-30 08:59:06 +00:00
radv_nir_lower_poly_line_smooth.c treewide: Remove unused builders 2023-06-27 18:13:02 +00:00
radv_nir_lower_primitive_shading_rate.c nir: Drop most uses if nir_instr_rewrite_src() 2023-08-18 01:00:15 +00:00
radv_nir_lower_ray_queries.c radv/rt: Pre-initialize instance address 2023-08-31 16:29:52 +00:00
radv_nir_lower_view_index.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
radv_nir_lower_viewport_to_zero.c nir: Drop nir_dest 2023-08-14 21:22:53 +00:00
radv_nir_lower_vs_inputs.c treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00