mesa/src/intel/vulkan
Nanley Chery 730e83b525 anv: Require compression for fast-clears on gfx20+
In commit 44351d67f8, I needed to change some variables in a check for
compression in anv_can_fast_clear_color_view(). Instead of doing that, I
dropped the check altogether because I thought the call to
anv_layout_to_fast_clear_type() which followed right afterwards would
return ANV_FAST_CLEAR_NONE if the aux usage was ISL_AUX_USAGE_NONE.

That turned out not to be the case, due to special-casing of Xe2+. For
now, make Xe2+ more like other platforms when it comes to enabling
fast-clears. If there comes a reason to actually fast-clear with
ISL_AUX_USAGE_NONE, we can revisit this.

Fixes: 44351d67f8 ("anv: Change params of anv_can_fast_clear_color_view")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11920
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31297>
2024-09-24 13:56:02 +00:00
..
grl anv/grl: add some validation that we're not going to overflow 2024-07-01 18:11:38 +00:00
i915 anv: Drop useless '>= 0' check over a unsigned 2024-09-04 10:04:38 -07:00
layers anv: reuse object string for RMV token 2024-08-05 21:12:59 +00:00
tests intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00
xe anv: Optimize vkQueueWaitIdle() on Xe KMD 2024-09-19 23:12:45 +00:00
anv_allocator.c anv: Protect against OOB access to anv_state_pool::buckets 2024-08-21 19:45:17 +00:00
anv_android.c anv/android: resolve ANB swapchain images on bind 2024-08-05 20:06:06 +00:00
anv_android.h anv/android: refactor out u_gralloc tiling query 2024-08-05 20:06:06 +00:00
anv_android_stubs.c anv/android: refactor out u_gralloc tiling query 2024-08-05 20:06:06 +00:00
anv_api_version.h anv: split instance from anv_device.c 2024-07-22 18:46:05 +00:00
anv_astc_emu.c anv: move astc_emu to use descriptors2 calls 2024-01-02 22:12:02 +00:00
anv_batch_chain.c anv: Add warning about mismatch between query queues 2024-09-18 15:29:16 +00:00
anv_blorp.c intel: Avoid no-op calls to anv_image_clear_color 2024-09-20 16:34:37 +00:00
anv_bo_sync.c anv: Add missing ANV_BO_ALLOC_INTERNAL 2024-04-19 13:15:01 +00:00
anv_buffer.c anv: fix extended buffer flags usages 2024-08-19 10:13:09 +00:00
anv_buffer_view.c anv: split buffer view from anv_image.c 2024-07-22 18:46:05 +00:00
anv_cmd_buffer.c anv: Release correct BO in anv_cmd_buffer_set_ray_query_buffer 2024-08-27 08:26:08 +00:00
anv_descriptor_set.c anv: ensure max_plane_count is at least 1 2024-08-06 17:55:18 +00:00
anv_device.c anv: fix adding to wa_addr 2024-08-27 18:10:58 -07:00
anv_event.c anv: split events from anv_device.c 2024-07-22 18:46:05 +00:00
anv_formats.c anv: enable VK_KHR_video_encode_queue and VK_KHR_video_encode_h264 2024-08-02 07:15:59 +00:00
anv_gem.c anv: remove some wrapping around mmap 2024-03-05 07:03:13 +00:00
anv_gem_stubs.c anv: make device initialization more asynchronous 2024-06-13 08:29:25 +00:00
anv_genX.h anv: implement workaround for Wa_18038825448 2024-08-09 07:30:03 +03:00
anv_image.c anv: Require compression for fast-clears on gfx20+ 2024-09-24 13:56:02 +00:00
anv_image_view.c anv: Move and rename anv_can_fast_clear_color_view 2024-09-20 16:34:36 +00:00
anv_instance.c anv: Add full subgroups WA for the shaders with barriers in Breaking Limit 2024-08-27 08:26:08 +00:00
anv_internal_kernels.c anv: prevent asserts with debug printf in internal shaders 2024-08-06 17:55:18 +00:00
anv_internal_kernels.h anv: rewrite internal shaders using OpenCL 2024-02-13 00:06:45 +00:00
anv_kmd_backend.c anv: Add gem VM bind and unbind to backend 2023-03-11 17:56:01 +00:00
anv_kmd_backend.h anv: make device initialization more asynchronous 2024-06-13 08:29:25 +00:00
anv_measure.c anv/measure: ignore events from reused command buffers 2024-08-05 23:45:41 +00:00
anv_measure.h anv: add a custom AcquireNextImage2KHR func 2022-02-17 22:15:23 +00:00
anv_mesh_perprim_wa.c treewide: Merge num_mesh_vertices_per_primitive and u_vertices_per_prim into mesa_vertices_per_prim 2023-10-26 09:35:04 +00:00
anv_nir.h anv: simplify loading driver internal constants 2024-08-22 19:44:39 +00:00
anv_nir_apply_pipeline_layout.c anv: selectively disable binding table usage on Gfx20 2024-09-09 20:33:25 +00:00
anv_nir_compute_push_layout.c anv: move lowering of descriptor intrinsics to apply_layout 2024-08-22 19:44:40 +00:00
anv_nir_lower_load_patch_vertices_in.c anv: simplify loading driver internal constants 2024-08-22 19:44:39 +00:00
anv_nir_lower_multiview.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_nir_lower_resource_intel.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
anv_nir_lower_ubo_loads.c intel: Fix bad align_offset on global_constant_uniform_block_intel 2024-08-21 20:44:57 +00:00
anv_nir_push_descriptor_analysis.c anv: add pipeline/shader support for descriptor buffers 2024-02-29 07:05:06 +00:00
anv_perf.c anv: Add warning about mismatch between query queues 2024-09-18 15:29:16 +00:00
anv_physical_device.c anv: Fix context id or exec queue used to open perf stream 2024-09-18 15:29:16 +00:00
anv_pipeline.c anv: skip rt pipeline compile if we found all shaders 2024-09-23 19:57:53 +00:00
anv_pipeline_cache.c anv: get rid of the second dynamic state heap 2024-07-19 12:21:46 +00:00
anv_private.h anv: Only flush render target cache when detecting RT changes 2024-09-23 15:56:02 +00:00
anv_queue.c anv: Optimize vkQueueWaitIdle() on Xe KMD 2024-09-19 23:12:45 +00:00
anv_rmv.c anv: initial RMV support 2024-01-23 17:24:19 +00:00
anv_rmv.h anv: initial RMV support 2024-01-23 17:24:19 +00:00
anv_sampler.c anv: split sampler from anv_device.c 2024-07-22 18:46:05 +00:00
anv_sparse.c anv: if queue is NULL in vm_bind return early 2024-09-13 20:17:40 +00:00
anv_util.c anv: add debug shader printf support 2024-05-15 13:13:38 +00:00
anv_utrace.c anv: fix utrace compute timestamp reads on Gfx20 2024-08-29 20:10:11 +00:00
anv_va.c anv: get rid of the second dynamic state heap 2024-07-19 12:21:46 +00:00
anv_video.c anv: fix video profile lists 2024-09-24 11:38:48 +00:00
anv_wsi.c intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
genX_acceleration_structure.c Revert "anv: Disable Ray Tracing on xe2 until our compiler supports Xe2 RT" 2024-05-28 18:45:49 +00:00
genX_blorp_exec.c anv: implement workaround for Wa_18038825448 2024-08-09 07:30:03 +03:00
genX_cmd_buffer.c anv: Only flush render target cache when detecting RT changes 2024-09-23 15:56:02 +00:00
genX_cmd_compute.c anv: prefetch samplers when dispatching compute shaders 2024-08-29 11:49:56 +00:00
genX_cmd_draw.c anv: add missing pipeline instance multiplier 2024-09-24 10:36:17 +00:00
genX_cmd_draw_generated_flush.h intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
genX_cmd_draw_generated_indirect.h anv: move conditional render predicate after gfx_flush_state 2024-08-23 10:52:19 +00:00
genX_cmd_draw_helpers.h anv: create new helper for small allocations 2024-02-29 07:05:06 +00:00
genX_cmd_video.c anv/video: initial support for h264 encoding 2024-08-02 07:15:59 +00:00
genX_cmd_video_enc.c anv/video: initial support for h265 encoding 2024-08-02 07:15:59 +00:00
genX_gfx_state.c anv: fix missing tracking for alpha-to-coverage runtime changes 2024-09-23 15:56:01 +00:00
genX_gpu_memcpy.c anv: implement WA 14018283232 2024-06-05 15:22:25 +00:00
genX_init_state.c anv: explicitly disable BT pool allocations at device init 2024-08-26 10:34:31 +00:00
genX_internal_kernels.c nir: remove global_invocation_id_zero_base 2024-04-24 20:18:49 +00:00
genX_mi_builder.h anv: predicate emission of STATE_BASE_ADDRESS 2024-06-18 20:44:51 +00:00
genX_pipeline.c iris,anv: simplify and inline sampler count calculations 2024-08-29 11:49:56 +00:00
genX_query.c anv: Fix condition to clear query pool with blorp 2024-09-19 17:54:24 +00:00
genX_simple_shader.c anv: enforce state->cmd_buffer is never null in emit_Simpler_shader_init_fragment 2024-09-16 19:16:58 +00:00
meson.build intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00