mesa/src/amd/vulkan
Samuel Pitoiset 783e3c096f radv: fix indirect draws with NULL index buffer on GFX10
GFX10 has a hw bug and it can't handle 0-sized index buffer. The
non-indirect draw path was fine but not the indirect path where RADV
emits the index buffer.

This fixes flakes with dEQP-VK.*maintenance6* on NAVI14, and possibly
GPU hangs if there is an indirect draw with a valid index buffer right
before because it would re-use the same index buffer.

Fixes: db9816fd66 ("radv: add support for NULL index buffer")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27142>
2024-01-22 08:14:23 +00:00
..
bvh radv/rt: Add workaround to make leaves always active 2024-01-17 15:14:48 +00:00
layers radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
meta radv: delay emitting streamout enable at draw time 2024-01-17 17:33:17 +00:00
nir radv/rt: cleanup radv_parse_rt_stage() 2024-01-17 07:25:49 +00:00
radix_sort amd: fix typos 2023-04-13 23:08:22 +00:00
tests radv: Add radv_nir_lower_hit_attrib_derefs_tests 2023-11-02 15:48:36 +00:00
winsys radv/amdgpu: Remove ctx_query_reset_status 2024-01-19 07:52:01 +00:00
.clang-format radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
meson.build radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_acceleration_structure.c radv/rt: Add workaround to make leaves always active 2024-01-17 15:14:48 +00:00
radv_aco_shader_info.h radv: add optimisations_disabled to radv_shader_stage_key 2024-01-15 11:49:04 +00:00
radv_android.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_buffer.c radv: add support for VkBindMemoryStatusKHR 2024-01-03 11:24:27 +00:00
radv_buffer_view.c radv: move buffer view related code to radv_buffer_view.c 2023-12-19 09:48:35 +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 indirect draws with NULL index buffer on GFX10 2024-01-22 08:14:23 +00:00
radv_constants.h radv: move SI_GS_PER_ES to radv_constants.h 2023-12-19 09:48:35 +00:00
radv_cp_reg_shadowing.c radv: correctly return oom from the device when failing to create a cs 2023-10-27 15:29:32 +00:00
radv_cs.h ac: Remove CIK prefix from SDMA opcodes. 2023-11-18 17:11:00 +01:00
radv_debug.c radv/rt: Use radv_shader for compiled shaders 2024-01-07 21:28:19 +01:00
radv_debug.h radv: Expose transfer queues, hidden behind a perftest flag. 2024-01-08 16:00:19 +01:00
radv_descriptor_set.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
radv_descriptor_set.h radv: move more descriptor related declarations to radv_descriptor_set.h 2023-12-19 09:48:34 +00:00
radv_device.c radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_device_generated_commands.c radv: add support for version 2 of all descriptor binding commands 2024-01-03 11:24:27 +00:00
radv_device_memory.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
radv_event.c radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_formats.c Revert "radv: disable DCC with signedness reinterpretation on GFX11" 2024-01-08 08:02:58 +00:00
radv_image.c radv: Correctly select SDMA support for PRIME blit. 2024-01-11 21:38:10 +00:00
radv_image_view.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
radv_instance.c wsi/x11: Add drirc option to ignore SUBOPTIMAL. 2024-01-18 17:23:32 +00:00
radv_llvm_helper.cpp radv/clang-format: Do not indent C++ modifiers 2023-11-02 15:48:36 +00:00
radv_llvm_helper.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00
radv_nir_to_llvm.c radv: Rename radv_nir_compiler_options::robust_buffer_access to robust_buffer_access_llvm 2023-07-04 21:04:21 +01:00
radv_perfcounter.c radv: drop si_ prefix from all functions 2024-01-04 08:40:37 +00:00
radv_physical_device.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
radv_pipeline.c radv: Vectorize load_global_constant 2024-01-18 21:30:39 +00:00
radv_pipeline_cache.c radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_pipeline_compute.c radv: remove the pipeline key for compute pipelines 2024-01-17 07:25:49 +00:00
radv_pipeline_graphics.c radv: rename radv_pipeline_key to radv_graphics_pipeline_key 2024-01-17 12:08:24 +00:00
radv_pipeline_rt.c radv: remove the pipeline key for ray tracing pipelines 2024-01-17 07:25:49 +00:00
radv_printf.c radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_private.h radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_query.c radv: Ensure vkGetQueryPoolResults returns in finite-time 2024-01-19 07:52:01 +00:00
radv_queue.c radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_radeon_winsys.h radv/amdgpu: Remove ctx_query_reset_status 2024-01-19 07:52:01 +00:00
radv_rmv.c radv/rmv: Fix tracing ray tracing pipelines 2024-01-08 19:29:13 +00:00
radv_rra.c radv/rra: Recognize LPDDR memory 2023-10-23 18:08:02 +00:00
radv_sampler.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
radv_sdma.c radv: Implement T2T scanline copy workaround. 2024-01-08 16:00:15 +01:00
radv_sdma.h radv: Implement T2T scanline copy workaround. 2024-01-08 16:00:15 +01:00
radv_shader.c radv: Implement NIR debug printf 2024-01-20 16:11:55 +01:00
radv_shader.h radv: rename radv_pipeline_key to radv_graphics_pipeline_key 2024-01-17 12:08:24 +00:00
radv_shader_args.c radv: introduce radv_graphics_state_key 2024-01-15 11:49:04 +00:00
radv_shader_args.h radv: introduce radv_graphics_state_key 2024-01-15 11:49:04 +00:00
radv_shader_info.c radv: introduce radv_graphics_state_key 2024-01-15 11:49:04 +00:00
radv_spm.c radv: add SPM support for GFX11 2023-09-25 09:05:58 +02:00
radv_sqtt.c radv: drop si_ prefix from all functions 2024-01-04 08:40:37 +00:00
radv_video.c radv/video: refactor sq start/end code to avoid decode hangs. 2024-01-18 13:33:10 +10:00
radv_wsi.c radv: move dri options to radv_instance::drirc 2024-01-10 10:07:40 +00:00
si_cmd_buffer.c radv: never set DISABLE_WR_CONFIRM for CP DMA clears and copies 2024-01-15 12:09:01 +00:00
vk_format.h radv: reformat according to its .clang-format 2023-06-16 19:59:52 +00:00