mesa/src/panfrost/vulkan
Alyssa Rosenzweig 2136643a51 panvk: Don't specialize clear shaders for RT
On Bifrost and newer, blend descriptors are decoupled from render target. That
means we can always use a clear shader reading from blend_descriptor_0 and
specify the desired render target in the sole blend descriptor we pass.

Likewise on Bifrost and newer we don't need blend descriptors when we don't
blend, which is the case for the Z/S clears.

This reduces the number of shaders compiled on startup from 468 to 426.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16950>
2022-06-13 17:27:36 +00:00
..
meson.build panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_cmd_buffer.c panvk: Put SSBO addresses in the descriptor buffer 2022-05-12 10:53:16 +00:00
panvk_cs.c panvk: Use a flat sysvals struct 2022-05-12 10:53:16 +00:00
panvk_cs.h panvk: Use a flat sysvals struct 2022-05-12 10:53:16 +00:00
panvk_descriptor_set.c panvk: Drop panvk_descriptor 2022-05-12 10:53:16 +00:00
panvk_device.c panvk: Return VK_ERROR_INCOMPATIBLE_DRIVER for Midgard 2022-06-13 14:44:16 +00:00
panvk_formats.c panvk: Stop using VK_OUTARRAY_MAKE() 2022-03-25 11:00:03 +00:00
panvk_image.c panvk: Report row_stride in GetImageSubresourceLayout 2022-05-03 14:20:15 +00:00
panvk_mempool.c panvk: Fix allocation of BOs bigger than the slab size 2021-10-04 12:17:07 +00:00
panvk_mempool.h panvk: Fix allocation of BOs bigger than the slab size 2021-10-04 12:17:07 +00:00
panvk_pass.c panvk: Non-destructively stub GetRenderAreaGranularity 2022-03-08 17:03:47 +00:00
panvk_pipeline.c panvk: Support creation of compute pipelines 2022-03-09 04:50:41 +00:00
panvk_pipeline_cache.c panvk: Stub pipeline cache using the common code 2022-05-09 13:40:17 +00:00
panvk_private.h panvk: Don't specialize clear shaders for RT 2022-06-13 17:27:36 +00:00
panvk_query.c panvk: Implement VK_KHR_synchronization2 2022-03-18 08:15:50 +00:00
panvk_shader.c panvk: Use vk_shader_module 2022-03-15 23:13:16 +00:00
panvk_util.c panvk: Switch to the new vk_error helpers 2021-10-07 20:51:36 +00:00
panvk_varyings.h panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_cmd_buffer.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_cmd_buffer.h panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_cs.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_cs.h panvk: Fix per-instance attribute handling 2022-03-16 09:57:51 -05:00
panvk_vX_descriptor_set.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_device.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_device.h panvk: Convert to the common sync/submit framework 2022-03-17 16:22:10 +00:00
panvk_vX_image.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_meta.c panfrost: Move genxml related files to a subdir 2021-09-30 10:30:19 +00:00
panvk_vX_meta.h panvk: Implement vkCmdCopyImage() 2021-09-21 15:01:15 +02:00
panvk_vX_meta_blit.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_meta_clear.c panvk: Don't specialize clear shaders for RT 2022-06-13 17:27:36 +00:00
panvk_vX_meta_copy.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_nir_lower_descriptors.c FIXUP: Use 16-bit things for texture sizes 2022-05-12 10:53:16 +00:00
panvk_vX_pipeline.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_vX_shader.c panvk: Drop support for Midgard 2022-06-08 18:43:06 +00:00
panvk_wsi.c panvk: Use the common AcquireNextImage implementation 2022-06-10 01:33:12 +00:00