mesa/src/intel/vulkan
Jason Ekstrand 46187bb54f anv: Swizzle fast-clear values
Starting with Gen12, we can fast-clear a lot more surface formats and we
are suddenly in the position of having to fast-clear surfaces with
formats with an implicit swizzle such as VK_FORMAT_R4G4B4A4_UNORM_PACK16
which is represented as ISL_FORMAT_A4B4G4R4 with a BGRA swizzle.  In
order for blorp to do the fast-clear color conversion for us, it needs
a properly swizzled color.

This fixes the following Vulkan CTS groups on TGL:

 - dEQP-VK.pipeline.blend.format.b4g4r4a4_unorm_pack16.*
 - dEQP-VK.api.image_clearing.core.clear_color_image.*.b4g4r4a4*

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4218>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4218>
2020-03-18 21:05:07 +00:00
..
tests anv/block_pool: Ensure allocations have contiguous maps 2020-01-29 09:43:42 -06:00
TODO
anv_allocator.c anv: multiply the scratch space by 4 on gen9-10 like iris and i965 2020-03-03 00:36:10 +00:00
anv_android.c anv/android: make format_supported_with_usage static 2020-01-28 14:46:38 +02:00
anv_android.h anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_android_stubs.c anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_batch_chain.c anv: Re-use one old BT block in reset_batch_bo_chain 2020-01-29 09:43:42 -06:00
anv_blorp.c anv: Swizzle fast-clear values 2020-03-18 21:05:07 +00:00
anv_cmd_buffer.c anv: Remove duplicate code in anv_cmd_buffer_bind_descriptor_set 2020-03-12 13:18:54 -07:00
anv_descriptor_set.c anv: Align UBO sizes to 32B 2020-03-07 04:51:28 +00:00
anv_device.c anv: Parse VkPhysicalDeviceFeatures2 in CreateDevice 2020-03-07 04:51:28 +00:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py anv: Move the physical device dispatch table to anv_instance 2020-01-20 22:08:52 +00:00
anv_extensions.py anv: Advertise VK_KHR_shader_non_semantic_info 2020-02-18 09:57:15 -06:00
anv_extensions_gen.py anv: manually add KHR_display to the list of platforms 2019-07-07 15:34:09 +03:00
anv_formats.c anv: Reject modifiers on depth/stencil formats 2020-02-13 15:40:18 +00:00
anv_gem.c intel/common: provide common ioctl routine 2019-08-01 16:38:40 -07:00
anv_gem_stubs.c anv: gem-stubs: return a valid fd got anv_gem_userptr() 2019-09-25 22:02:51 +03:00
anv_genX.h anv: Plumb deref block size through to 3DSTATE_SF 2020-01-30 18:46:28 -06:00
anv_icd.py anv: fix typo 2019-06-29 22:41:06 +01:00
anv_image.c anv: Use isl_drm_modifier_get_default_aux_state() 2020-03-18 11:39:33 -07:00
anv_intel.c anv: Take an anv_device in vk_errorf 2020-01-20 22:08:52 +00:00
anv_nir.h anv: Bounds-check pushed UBOs when robustBufferAccess = true 2020-03-07 04:51:29 +00:00
anv_nir_add_base_work_group_id.c anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
anv_nir_apply_pipeline_layout.c nir: Drop nir_tex_instr::texture_array_size 2020-02-26 18:29:49 +00:00
anv_nir_compute_push_layout.c anv: Push UBO ranges relative to the start of the binding 2020-03-16 15:14:14 +00:00
anv_nir_lower_multiview.c nir/builder: Add a build_deref_array_imm helper 2019-03-07 21:20:30 +00:00
anv_nir_lower_ycbcr_textures.c nir: Drop nir_tex_instr::texture_array_size 2020-02-26 18:29:49 +00:00
anv_pass.c anv: Enable Vulkan 1.2 support 2020-01-15 08:34:57 -06:00
anv_perf.c anv: Add an anv_physical_device field to anv_device 2020-01-20 22:08:52 +00:00
anv_pipeline.c intel/compiler: detect if atomic load store operations are used 2020-03-16 10:34:21 +00:00
anv_pipeline_cache.c anv: Keep the shader stage in anv_shader_bin 2020-03-12 13:18:54 -07:00
anv_private.h anv: Swizzle fast-clear values 2020-03-18 21:05:07 +00:00
anv_queue.c anv: No-op submit and wait calls when no_hw is set 2020-02-06 10:48:33 +00:00
anv_util.c anv: Take a device in anv_perf_warn 2020-01-20 22:08:52 +00:00
anv_wsi.c anv: Add an anv_physical_device field to anv_device 2020-01-20 22:08:52 +00:00
anv_wsi_display.c anv: Stop allocating WSI event fences off the instance 2020-01-20 22:08:52 +00:00
anv_wsi_wayland.c anv: drop unused includes 2018-10-24 18:15:05 +01:00
anv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
gen7_cmd_buffer.c anv: Split graphics and compute bits from anv_pipeline 2020-03-12 13:18:54 -07:00
gen8_cmd_buffer.c anv: Split graphics and compute bits from anv_pipeline 2020-03-12 13:18:54 -07:00
genX_blorp_exec.c intel/blorp: Always emit URB config on Gen7+ 2020-01-30 18:46:20 -06:00
genX_cmd_buffer.c anv: Swizzle fast-clear values 2020-03-18 21:05:07 +00:00
genX_gpu_memcpy.c anv: Plumb deref block size through to 3DSTATE_SF 2020-01-30 18:46:28 -06:00
genX_pipeline.c anv: Reduce compute pipeline batch_data size 2020-03-12 13:18:54 -07:00
genX_query.c anv: implement gen9 post sync pipe control workaround 2020-02-05 00:25:48 +00:00
genX_state.c anv: Make AUX table invalidate a PIPE_* bit 2020-01-25 02:18:33 +00:00
meson.build anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
vk_format_info.h anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format 2019-06-24 08:28:18 +03:00