mesa/src/amd/vulkan
Benjamin Cheng 2e21eec921 radv/video: Fix num_ref_idx_l{0,1} related overrides
Since we only support 1 L0/L1 ref, the default num refs in the PPS
should always be 0. With that there never any need to set the override
flag in the slice header (until more references are supported).
Also the ref pic list modifications should be clamped to the size of the
ref pic list.

This fixes an issue seen with dEQP-VK.video.encode.h264.i_p_b_13_*.

Cc: mesa-stable
Reviewed-by: David Rosca <david.rosca@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38686>
2025-11-30 15:37:44 +00:00
..
bvh radv/rt: Correctly copy culling flags when updating to separate AS 2025-11-25 15:25:21 +00:00
layers treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
meta ac/gpu_info: Fix determining when CP DMA supports sparse 2025-11-25 10:38:45 +01:00
nir nir: remove nir_io_add_const_offset_to_base 2025-11-29 00:16:38 +00:00
tests treewide: Use regexp to replace usage of setenv with os_set_option. 2025-11-27 18:22:34 +00:00
winsys/amdgpu radv: add RADV_DEBUG=dumpibs to dump command buffers 2025-11-12 08:52:17 +00:00
.clang-format
.editorconfig
meson.build vulkan: Optionally share one JSON manifest per driver between architectures 2025-11-24 19:05:57 +00:00
radv_acceleration_structure.c radv/rt: Correctly copy culling flags when updating to separate AS 2025-11-25 15:25:21 +00:00
radv_aco_shader_info.h radv/shader_info: rename gs_ring_info -> legacy_gs_info and use union with ngg_info 2025-11-03 13:38:38 +01:00
radv_android.c radv: use AHARDWAREBUFFER_USAGE_CAMERA_MASK 2025-07-09 03:47:06 +00:00
radv_android.h
radv_buffer.c Revert "radv,driconf: Add radv_force_64k_sparse_alignment config" 2025-06-13 06:43:47 +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 Revert "radv: remove the workaround for DISPATCH_TASKMESH_INDIRECT_MULTI_ACE on GFX10.3" 2025-11-28 15:34:53 +01:00
radv_cmd_buffer.h radv/video: Init session and update rate control in ControlVideoCoding 2025-11-28 15:35:26 +00:00
radv_constants.h radv: re-format using clang-format 2025-09-09 05:48:56 +00:00
radv_cp_dma.c radv: remove unreachable code for prefetch in radv_cs_emit_cp_dma() 2025-11-19 08:03:38 +00:00
radv_cp_dma.h radv: switch to radv_cmd_stream everywhere 2025-08-08 11:49:23 +00:00
radv_cp_reg_shadowing.c radv: use radv_buffer_get_va() more 2025-10-27 07:56:44 +00:00
radv_cp_reg_shadowing.h radv: switch to radv_cmd_stream everywhere 2025-08-08 11:49:23 +00:00
radv_cs.c radv: remove unnecessary handling of SDMA in radv_cs_emit_write_event_eop() 2025-11-17 08:28:38 +01:00
radv_cs.h radv: add GFX11 packed context registers helpers 2025-11-05 15:14:58 +00:00
radv_debug.c amd: remove radeon_info::dev_filename 2025-11-24 12:34:08 +00:00
radv_debug.h radv: Advertise sparse features pre Polaris with perftest flag 2025-11-25 10:39:21 +01:00
radv_debug_nir.c treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +00:00
radv_debug_nir.h radv: Add RADV_DEBUG=validatevas for address validation in nir 2025-08-15 10:32:35 +00:00
radv_descriptor_pool.c radv: fix resetting descriptor pool since the new descriptor sets allocator 2025-11-26 09:09:13 +00:00
radv_descriptor_pool.h radv: implement a new descriptor sets allocator 2025-10-24 06:25:17 +00:00
radv_descriptor_set.c radv: implement a new descriptor sets allocator 2025-10-24 06:25:17 +00:00
radv_descriptor_set.h radv: implement a new descriptor sets allocator 2025-10-24 06:25:17 +00:00
radv_descriptor_update_template.c radv: reduce the combined image/sampler desc size on GFX11+ 2025-08-14 06:47:30 +00:00
radv_descriptor_update_template.h radv: move descriptor update implementation to radv_descriptor_update_template.c/h 2025-06-27 07:55:37 +00:00
radv_descriptors.c radv: reduce the combined image/sampler desc size on GFX11+ 2025-08-14 06:47:30 +00:00
radv_descriptors.h radv: reduce the combined image/sampler desc size on GFX11+ 2025-08-14 06:47:30 +00:00
radv_device.c radv: enable RADV_THREAD_TRACE_CACHE_COUNTERS on GFX12 2025-11-21 11:52:58 +00:00
radv_device.h radv: hash keep_executable_info into shader key rather than device cache key 2025-11-06 13:53:06 +00:00
radv_device_memory.c radv: ignore radv_disable_dcc{_mips} drirc options on GFX12 2025-11-24 17:40: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 treewide: use nir_store_global alias of nir_build_store_global 2025-10-21 12:37:58 +02:00
radv_dgc.h radv: Remove unneeded forward declaration of qf from dgc header 2025-10-14 12:33:19 +00:00
radv_event.c
radv_event.h
radv_formats.c radv: Check RADV_PERFTEST=sparse for image formats and sparse queue 2025-11-26 13:12:27 +00:00
radv_formats.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
radv_host_image_copy.c radv: implement vkTransitionImageLayout() 2025-07-15 09:12:16 +00:00
radv_image.c radv: ignore radv_disable_dcc{_mips} drirc options on GFX12 2025-11-24 17:40:33 +00:00
radv_image.h radv,ac: Split has_tc_compat_zrange_bug into Z and ZS, document it 2025-10-02 08:29:49 +00:00
radv_image_view.c vulkan: Drop the driver_internal from vk_image_view_init/create() 2025-09-05 23:34:14 +00:00
radv_image_view.h radv: add a function to create an image view for HiZ surfaces 2025-08-12 13:48:09 +00:00
radv_instance.c vulkan/wsi: Add missing KHR_surface_maintenance1 promotions. 2025-11-30 12:17:33 +01:00
radv_instance.h radv: add radv_hide_rebar_on_dgpu and enable for Red Dead Redemption 2 2025-11-26 10:12:45 +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_nir_to_llvm.c radv: use CU mode when LDS is used 2025-10-15 13:37:48 +01:00
radv_nir_to_llvm.h
radv_perfcounter.c ac,radv,radeonsi: add more SPM helpers to common code 2025-11-24 08:05:08 +00:00
radv_perfcounter.h ac,radv,radeonsi: add more SPM helpers to common code 2025-11-24 08:05:08 +00:00
radv_physical_device.c vulkan: Add KHR_swapchain_maintenance1 promotions. 2025-11-30 10:30:53 +01:00
radv_physical_device.h radv: Check RADV_PERFTEST=sparse for image formats and sparse queue 2025-11-26 13:12:27 +00:00
radv_pipeline.c ac,radv: move opt_vectorize_callback to common code 2025-11-28 20:16:10 +00:00
radv_pipeline.h radv: rename indirect_descriptor_sets to indirect_descriptors 2025-10-10 13:22:03 +00:00
radv_pipeline_binary.c treewide: use UTIL_DYNARRAY_INIT 2025-11-04 13:39:48 +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 radv: Add RADV_DEBUG=validatevas for address validation in nir 2025-08-15 10:32:35 +00:00
radv_pipeline_cache.h radv: remove unused forwarded declarations of pipeline layout 2025-08-18 07:25:34 +00:00
radv_pipeline_compute.c radv: gather push constant size from shaders for pipelines 2025-10-23 07:25:41 +00:00
radv_pipeline_compute.h radv: rename indirect_descriptor_sets to indirect_descriptors 2025-10-10 13:22:03 +00:00
radv_pipeline_graphics.c radv: enable VRS for flat shading on GFX11+ 2025-11-25 07:52:52 +00:00
radv_pipeline_graphics.h radv: pre-compute vgt_outprim_type 2025-09-15 19:10:39 +00:00
radv_pipeline_layout.c radv: remove radv_pipeline_layout::push_constant_size 2025-10-23 07:25:41 +00:00
radv_pipeline_layout.h radv: remove radv_pipeline_layout::push_constant_size 2025-10-23 07:25:41 +00:00
radv_pipeline_rt.c radv: use radv_buffer_get_va() more 2025-10-27 07:56:44 +00:00
radv_pipeline_rt.h all: rename gl_shader_stage to mesa_shader_stage 2025-08-06 10:28:40 +08:00
radv_query.c radv/video: Only use write_memory for encode feedback with full support 2025-11-03 08:39:59 +00:00
radv_query.h radv: re-run clang-format 2025-07-16 09:10:33 +02:00
radv_queue.c treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
radv_queue.h radv: replace radeon_cmdbuf by ac_cmdbuf completely 2025-10-08 18:00:15 +00:00
radv_radeon_winsys.h radv/amdgpu: add a way to identify preamble/postamble when dumping CS 2025-11-12 08:52:17 +00:00
radv_rmv.c amd: restrict radeon_info::marketing_name to 64 characters and copy it 2025-11-24 12:34:08 +00:00
radv_rmv.h
radv_rra.c amd: restrict radeon_info::marketing_name to 64 characters and copy it 2025-11-24 12:34:08 +00:00
radv_rra.h radv/rra: Increase rra_validation_context::location 2025-07-22 14:40:33 +00:00
radv_rra_gfx10_3.c radv/rra: Only write used BLAS 2025-07-22 14:40:33 +00:00
radv_rra_gfx12.c radv/rra/gfx12: Properly validate geometry indices 2025-10-21 19:32:54 +00:00
radv_sampler.c radv: Actually fail custom border color sampler creation. 2025-10-10 14:25:54 +00:00
radv_sampler.h radv: fix capture/replay with sampler border color 2025-09-12 06:51:51 +00:00
radv_sdma.c radv: remove now unused SDMA helpers 2025-11-17 11:29:24 +00:00
radv_sdma.h radv: remove now unused SDMA helpers 2025-11-17 11:29:24 +00:00
radv_shader.c Revert "radv: Only call nir_opt_dead_write_vars once" 2025-11-24 17:05:48 +00:00
radv_shader.h radv: recalculate legacy_gs_info on bind 2025-11-20 16:45:37 +00:00
radv_shader_args.c radv,aco: wait for all VMEM loads when the prolog loads large 64-bit attributes 2025-11-05 07:26:45 +00:00
radv_shader_args.h radv: declare a new user SGPR for dynamic descriptors 2025-10-14 15:34:43 +00:00
radv_shader_info.c radv: consistently use the value in bytes for esgs_itemsize 2025-11-20 16:45:37 +00:00
radv_shader_info.h radv: recalculate legacy_gs_info on bind 2025-11-20 16:45:37 +00:00
radv_shader_object.c treewide: Replace calling to function ALIGN with align 2025-11-12 21:58:40 +00:00
radv_shader_object.h radv: gather push constant size from shaders for ESO 2025-10-23 07:25:41 +00:00
radv_spm.c ac/spm,radv,radeonsi: configure the SPM sample interval in common code 2025-11-24 08:05:08 +00:00
radv_spm.h radv: Remove qf from radv_spm/sqtt/perfcounter where applicable 2025-10-14 12:33:20 +00:00
radv_sqtt.c radv: fix per-submit RGP captures on video queues 2025-11-25 07:30:10 +00:00
radv_sqtt.h amd,radv,radeonsi: add ac_emit_cp_spi_config_cntl() 2025-10-23 08:29:27 +00:00
radv_video.c radv/video: Drop casts from vk_find_struct* 2025-11-28 15:35:26 +00:00
radv_video.h radv/video: Init session and update rate control in ControlVideoCoding 2025-11-28 15:35:26 +00:00
radv_video_enc.c radv/video: Fix num_ref_idx_l{0,1} related overrides 2025-11-30 15:37:44 +00:00
radv_wsi.c vulkan/wsi: Make get_blit_queue return a struct vk_queue * 2025-08-22 23:05:03 +00:00
radv_wsi.h