mesa/src/intel/vulkan_hasvk
Nanley Chery b3882c4488 intel: Avoid no-op calls to anv_image_clear_color
Whenever we execute a fast-clear due to LOAD_OP_CLEAR, we decrease the
number of layers to clear by one. We then enter the slow clear function
and possibly exit without clearing if the layer count is zero.
Unfortunately, we've already compiled the shader for slow clears by the
time we exit. Skip the slow clear function if there are no layers to
clear.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31167>
2024-09-20 16:34:37 +00:00
..
layers hasvk: Add layer with work-around for Doom 64 texture corruption 2023-01-02 15:05:06 +00:00
tests hasvk/tests: Propagate failures to gtest 2023-08-25 12:08:29 -07:00
anv_allocator.c util: Turn futex_wake parameter to int32_t for consistence across platforms 2024-04-03 00:55:24 +00:00
anv_android.c hasvk/android: remove numFds check 2023-08-24 11:07:12 +00:00
anv_android.h hasvk: refactor to use DETECT_OS_ANDROID instead of ANDROID 2024-02-01 19:29:49 +00:00
anv_android_stubs.c anv,hasvk: android ahb is not always exportable 2023-05-11 22:18:03 +00:00
anv_batch_chain.c hasvk: remove useless uint >= 0 check 2024-09-17 21:16:36 +00:00
anv_blorp.c intel: Drop BLORP_BATCH_NO_UPDATE_CLEAR_COLOR 2024-08-26 23:57:12 +00:00
anv_bo_sync.c
anv_cmd_buffer.c vulkan: pass cmdbuf level to vk_command_buffer_ops::create() 2024-04-23 06:33:31 +00:00
anv_descriptor_set.c anv, hasvk: pMutableDescriptorTypeLists can be out of range on pool creation 2024-03-07 18:56:57 +00:00
anv_device.c hasvk: enable VK_KHR_shader_relaxed_extended_instruction 2024-09-09 17:46:32 +00:00
anv_formats.c anv,hasvk: use common stype debug 2024-05-10 18:49:38 +00:00
anv_gem.c intel: Move intel_define.h to i915/intel_define.h 2024-02-21 18:10:54 +00:00
anv_gem_stubs.c hasvk: Remove remaining bits of anv_i915_query() 2023-02-09 02:57:32 +00:00
anv_genX.h anv/hasvk: add indirect tracepoint arguments 2024-08-03 16:03:04 +03:00
anv_image.c intel/isl: Drop support for the gfx12 CCS ISL surf 2024-06-21 00:08:38 +00:00
anv_measure.c hasvk: move cmd_emit_timestamp initialization to genX 2024-07-03 21:10:13 +00:00
anv_measure.h
anv_nir.h hasvk: Use ELK compiler 2024-02-24 00:24:31 +00:00
anv_nir_apply_pipeline_layout.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_nir_compute_push_layout.c hasvk: Use ELK compiler 2024-02-24 00:24:31 +00:00
anv_nir_lower_multiview.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00: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_lower_ycbcr_textures.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_perf.c intel/perf: Refactor and add Xe KMD support to change stream metrics id 2024-06-29 01:17:37 +00:00
anv_pipeline.c vulkan: Take a VkPipelineCreateFlags2KHR in vk_pipeline_*shader_stage*() 2024-08-29 03:30:31 +00:00
anv_pipeline_cache.c treewide: Remove vulkan/runtime vulkan/util prefix in include path 2024-03-05 19:05:00 +00:00
anv_private.h anv/hasvk: add indirect tracepoint arguments 2024-08-03 16:03:04 +03:00
anv_queue.c hasvk: Nuke anv_queue:index_in_family 2023-01-25 17:43:57 +00:00
anv_util.c
anv_utrace.c anv/hasvk: add indirect tracepoint arguments 2024-08-03 16:03:04 +03:00
anv_wsi.c intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
genX_blorp_exec.c intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
genX_cmd_buffer.c intel: Avoid no-op calls to anv_image_clear_color 2024-09-20 16:34:37 +00:00
genX_gpu_memcpy.c anv,iris,hasvk: Use ISL_SURF_USAGE_STREAM_OUT_BIT for setting stream-out MOCS 2023-07-12 23:47:25 -07:00
genX_pipeline.c intel: Move slm functions from brw_compiler.h to intel_compute_slm.c/h 2024-05-30 16:46:16 +00:00
genX_query.c mi-builder: rename relocated api 2024-06-13 11:04:31 +00:00
genX_state.c anv/hasvk: add indirect tracepoint arguments 2024-08-03 16:03:04 +03:00
gfx7_cmd_buffer.c hasvk: add restrictions for 3DSTATE_RASTER::AntiAliasingEnable 2023-01-20 12:50:04 +00:00
gfx8_cmd_buffer.c hasvk: Use ELK compiler 2024-02-24 00:24:31 +00:00
meson.build format: Generate endian-independent format aliases 2024-07-19 13:50:42 +00:00