mesa/src/amd/vulkan
Samuel Pitoiset f11a4a09b0 radv: try to keep HTILE compressed for READ_ONLY_OPTIMAL layout
It should be handled like DEPTH_STENCIL_READ_ONLY_OPTIMAL.

This fixes an issue with VRS attachment because HTILE was considered
disabled for READ_ONLY_OPTIMAL but there is no reasons to disable it
as long as the image is only used as a depth/stencil attachment.

Otherwise, when HTILE is disabled, VRS rates are ignored.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8675
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22468>
2023-04-14 13:48:04 +00:00
..
bvh amd: fix typos in code 2023-04-13 23:08:22 +00:00
layers radv: Add RT stages to radv_mesa_to_rgp_shader_stages 2023-04-11 02:00:15 +00:00
meta radv: fix detecting FMASK_DECOMPRESS/DCC_DECOMPRESS meta pipelines 2023-04-13 09:00:38 +00:00
nir amd: fix typos 2023-04-13 23:08:22 +00:00
radix_sort amd: fix typos 2023-04-13 23:08:22 +00:00
winsys amd: Rename INDIRECT_BUFFER_CIK to just INDIRECT_BUFFER. 2023-04-13 23:58:48 +00:00
.editorconfig
meson.build radv: split radv_pipeline.c into radv_pipeline_{compute,graphics}.c 2023-04-12 11:18:45 +00:00
radv_acceleration_structure.c radv: Pack and encode geometry id and flags on the CPU 2023-04-11 07:57:34 +00:00
radv_aco_shader_info.h aco, radv: Remove redundant enable_mrt_output_nan_fixup from PS epilog info. 2023-04-12 17:30:02 +00:00
radv_android.c vulkan,anv,hasvk,radv: Unify Android hardware buffer creation 2023-03-31 14:57:03 +00:00
radv_buffer.c radv: use common GetBufferMemoryRequirements2() 2023-03-22 07:50:04 +00:00
radv_check_va.py
radv_cmd_buffer.c amd: Rename INDIRECT_BUFFER_CIK to just INDIRECT_BUFFER. 2023-04-13 23:58:48 +00:00
radv_constants.h radv: Upload shaders to invisible VRAM on small BAR systems. 2023-03-16 18:02:57 +00:00
radv_cp_reg_shadowing.c amd: Rename INDIRECT_BUFFER_CIK to just INDIRECT_BUFFER. 2023-04-13 23:58:48 +00:00
radv_cs.h amd: massively simplify how info->spi_cu_en is applied 2023-03-03 00:41:48 +00:00
radv_debug.c amd: fix typos in code 2023-04-13 23:08:22 +00:00
radv_debug.h radv: enable VK_EXT_graphics_pipeline_library by default 2023-04-10 10:02:32 +00:00
radv_descriptor_set.c amd: fix typos 2023-04-13 23:08:22 +00:00
radv_descriptor_set.h radv: Pre-compute descriptor set layout hash. 2023-04-03 08:46:08 +00:00
radv_device.c radv: use vk_pipeline_cache 2023-04-11 11:38:15 +00:00
radv_device_generated_commands.c radv: remove radv_graphics_pipeline::vb_desc_alloc_size 2023-03-30 11:21:19 +00:00
radv_device_memory.c radv: implement VK_KHR_map_memory2 2023-03-21 23:08:03 +00:00
radv_event.c radv: move event related code to radv_event.c 2023-03-08 16:21:10 +00:00
radv_formats.c radv: Use vk_features2_to_features 2023-04-07 18:16:40 -04:00
radv_image.c radv: try to keep HTILE compressed for READ_ONLY_OPTIMAL layout 2023-04-14 13:48:04 +00:00
radv_instance.c radv: enable VK_EXT_graphics_pipeline_library by default 2023-04-10 10:02:32 +00:00
radv_llvm_helper.cpp amd: fix typos 2023-04-13 23:08:22 +00:00
radv_llvm_helper.h
radv_nir_to_llvm.c ac/llvm: move ac_fixup_ls_hs_input_vgprs to amd common 2023-04-03 01:35:06 +00:00
radv_perfcounter.c
radv_physical_device.c amd: fix typos 2023-04-13 23:08:22 +00:00
radv_pipeline.c radv: cleanup after splitting radv_pipeline.c 2023-04-13 02:21:44 +00:00
radv_pipeline_cache.c radv: clean up pipeline-cache interface 2023-04-11 11:38:15 +00:00
radv_pipeline_compute.c radv: split radv_pipeline.c into radv_pipeline_{compute,graphics}.c 2023-04-12 11:18:45 +00:00
radv_pipeline_graphics.c amd: fix typos 2023-04-13 23:08:22 +00:00
radv_pipeline_rt.c radv: clean up pipeline-cache interface 2023-04-11 11:38:15 +00:00
radv_private.h amd: fix typos 2023-04-13 23:08:22 +00:00
radv_query.c amd: fix typos 2023-04-13 23:08:22 +00:00
radv_queue.c amd: Rename INDIRECT_BUFFER_CIK to just INDIRECT_BUFFER. 2023-04-13 23:58:48 +00:00
radv_radeon_winsys.h radv/amdgpu: Add bool is_secondary argument to cs_create function. 2023-04-11 17:05:03 +00:00
radv_rmv.c radv: restore uploading shaders individually instead of consecutively 2023-02-10 13:42:14 +00:00
radv_rra.c amd: fix typos 2023-04-13 23:08:22 +00:00
radv_rt_common.c amd: fix typos 2023-04-13 23:08:22 +00:00
radv_rt_common.h
radv_rt_shader.c radv: move radv_meta_* to a new folder 2023-03-27 06:27:49 +00:00
radv_sampler.c radv: move sampler related code to radv_sampler.c 2023-03-08 16:21:10 +00:00
radv_sdma_copy_image.c radv: Introduce sdma_copy_buffer for GFX7+. 2023-03-16 18:02:56 +00:00
radv_shader.c amd: fix typos in code 2023-04-13 23:08:22 +00:00
radv_shader.h radv: use vk_pipeline_cache 2023-04-11 11:38:15 +00:00
radv_shader_args.c radv: Remove has_previous_stage 2023-04-11 06:24:17 +00:00
radv_shader_args.h radv: Remove has_previous_stage 2023-04-11 06:24:17 +00:00
radv_shader_info.c radv: Don't hardcode LDS granularity in gfx9_get_gs_info. 2023-04-12 17:30:02 +00:00
radv_spm.c
radv_sqtt.c amd: fix typos 2023-04-13 23:08:22 +00:00
radv_video.c radv/video: fix h265 decoding sizes. 2023-03-15 05:08:49 +00:00
radv_wsi.c radv: move radv_meta_* to a new folder 2023-03-27 06:27:49 +00:00
si_cmd_buffer.c radv: Reserve space in si_cs_emit_cache_flush. 2023-04-12 20:31:47 +00:00
vk_format.h