mesa/src/amd/vulkan
Samuel Pitoiset 1a93cd1556 radv: add a layer for fixing rendering issues with RAGE2
This game seems to incorrectly set the render area and since we switched
to full dynamic rendering, the framebuffer dimensions is no longer used.

Forcing the render area to be the framebuffer dimensions restore the
previous logic and it fixes rendering issues.

Fixes: c7d0d328d5 ("radv: Set the window scissor to the render area, not framebuffer")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20900>
2023-01-27 15:28:45 +00:00
..
bvh radv: Merge the leaf and internal converter 2023-01-25 15:54:03 +00:00
layers radv: add a layer for fixing rendering issues with RAGE2 2023-01-27 15:28:45 +00:00
radix_sort meson: do not use source_root() when possible 2022-11-22 06:11:07 +00:00
winsys radv/winsys: prefix all error messages with RADV 2023-01-25 18:47:52 +00:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
meson.build radv: add a layer for fixing rendering issues with RAGE2 2023-01-27 15:28:45 +00:00
radv_acceleration_structure.c radv: Merge the leaf and internal converter 2023-01-25 15:54:03 +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: Add uses_full_subgroups to compute shader info. 2023-01-26 01:59:26 +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: Optimize emitting prefetches 2023-01-27 15:05:03 +00:00
radv_constants.h radv: move GDS counters after reserved GDS offsets for streamout 2022-11-01 19:47:07 +00:00
radv_cp_reg_shadowing.c radv: add support for register shadowing 2023-01-25 04:53:34 +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: add shadowregs variable to RADV_DEBUG environment variable 2023-01-25 04:53:34 +00:00
radv_descriptor_set.c radv: Reduce descriptor pool allocation for alignment. 2023-01-25 08:45:50 +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 layer for fixing rendering issues with RAGE2 2023-01-27 15:28:45 +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: print depth image size with RADV_DEBUG=img 2023-01-24 15:42:44 +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: Get rid of app_shaders_internal. 2023-01-26 01:59:26 +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: load ssbo_atomic_fadd descriptor 2023-01-17 17:39:15 +00:00
radv_nir_lower_abi.c aco: Remove dynamic VS input loads. 2023-01-26 02:43:11 +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: use ac_nir_lower_legacy_gs 2023-01-16 17:25:51 +00:00
radv_perfcounter.c radv: Fixes prototypes 2022-11-11 05:38:19 +00:00
radv_pipeline.c radv: fix ignoring graphics shader stages that don't need to be imported 2023-01-26 08:34:36 +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: fix ignoring graphics shader stages that don't need to be imported 2023-01-26 08:34:36 +00:00
radv_private.h radv, aco: Add uses_full_subgroups to compute shader info. 2023-01-26 01:59:26 +00:00
radv_query.c radv: Make NGG query emission a dirty flag. 2023-01-20 14:31:45 +00:00
radv_radeon_winsys.h radv: Change radeon_cmdbuf counters to uint64_t to make alias analysis optimize radeon_emit better 2023-01-27 15:05:03 +00:00
radv_rmv.c radv/rmv: Correct timestamp shifting 2023-01-26 01:17:26 +00:00
radv_rra.c ac/info: move pci bus info in a struct 2023-01-16 10:27:15 +01: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: Get rid of app_shaders_internal. 2023-01-26 01:59:26 +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, ac: Implement pack_half_2x16_rtz_split. 2023-01-26 12:24:24 +00:00
radv_shader.h radv: fix ignoring graphics shader stages that don't need to be imported 2023-01-26 08:34:36 +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, aco: Add uses_full_subgroups to compute shader info. 2023-01-26 01:59:26 +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: Clean up variables in si_get_ia_multi_vgt_param 2023-01-27 15:05:03 +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