mesa/src/panfrost/vulkan
Erik Faye-Lund e4786cf971 panvk: check for texture-compression support
We currently just assume that textureCompressionETC2 and
textureCompressionASTC_LDR are always supported. And while that's true
for all the G52s, G610s abd G310s we've seen out in the wild, it's not
guaranteed to be true. An SoC vendor might disable support for one of
these formats.

So let's check properly, just for good measure.

Fixes: d970fe2e9d ("panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs")
Reviewed-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34206>
2025-04-01 14:55:46 +00:00
..
bifrost pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
csf panvk: enable KHR_line_rasterization support 2025-03-31 09:03:05 +00:00
jm panvk: enable KHR_line_rasterization support 2025-03-31 09:03:05 +00:00
valhall panvk: Overhaul the Bifrost descriptor set implementation 2024-06-14 20:52:21 +00:00
meson.build panfrost,panvk: Wire printf and abort support 2025-02-11 12:33:23 +00:00
panvk_android.c panvk: Add missing headers to android platform 2024-10-14 23:09:03 +00:00
panvk_blend.h panvk: Pass a cmdbuf to blend_emit_descs() 2025-01-07 08:15:19 +00:00
panvk_buffer.c panvk: Use the new buffer device address infrastructure 2025-03-06 09:46:00 +00:00
panvk_buffer.h panvk: Use the new buffer device address infrastructure 2025-03-06 09:46:00 +00:00
panvk_buffer_view.h panvk: Use memory pools for internal GPU data attached to vulkan objects 2024-06-17 07:31:50 +00:00
panvk_cmd_alloc.h panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_cmd_desc_state.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_cmd_dispatch.h panvk: Move TLS preparation logic to cmd_dispatch_prepare_tls 2025-02-11 12:33:23 +00:00
panvk_cmd_draw.h panvk: Don't clobber registers if the render pass was suspended 2025-01-31 19:08:23 +00:00
panvk_cmd_fb_preload.h panvk: Build cmd_fb_preload on explicit fb_info 2024-11-26 11:58:28 +01:00
panvk_cmd_meta.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_cmd_oq.h panvk/csf: Rework the occlusion query logic to avoid draw flushes 2025-01-15 14:07:37 +00:00
panvk_cmd_pool.c panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_cmd_pool.h panvk: Prepare panvk_cmd_pool for CSF 2024-08-23 14:38:59 +00:00
panvk_cmd_precomp.h panvk: Implement precomp dispatch 2025-02-11 12:33:23 +00:00
panvk_cmd_push_constant.h panvk: Pack push constants 2025-01-07 08:15:19 +00:00
panvk_descriptor_set.h panvk: Overhaul the Bifrost descriptor set implementation 2024-06-14 20:52:21 +00:00
panvk_descriptor_set_layout.h panvk: Use multiple sampler planes and one texture descriptor per plane 2025-02-08 07:48:41 +00:00
panvk_device.h panfrost,panvk: Wire printf and abort support 2025-02-11 12:33:23 +00:00
panvk_device_memory.c panvk: do not leak mapped memory 2024-11-14 18:45:44 +00:00
panvk_device_memory.h panvk: Conditionally register an host address when tracking user memory 2024-08-23 14:39:00 +00:00
panvk_image.c panvk: fix memory requirement query for aliased disjoint image 2025-03-25 00:20:54 +00:00
panvk_image.h panvk: Support D32_S8 as a multiplanar format 2024-12-02 20:18:43 +00:00
panvk_image_view.h panvk: Use multiple sampler planes and one texture descriptor per plane 2025-02-08 07:48:41 +00:00
panvk_instance.c panvk: add basic driconf infrastructure 2025-03-31 09:24:04 +00:00
panvk_instance.h panvk: add basic driconf infrastructure 2025-03-31 09:24:04 +00:00
panvk_macros.h panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_mempool.c panvk: Make panvk_pool_free_mem() error proof 2024-10-15 13:16:07 +00:00
panvk_mempool.h panvk: Fix panvk_priv_mem_bo() on 32-bit platforms 2025-01-10 15:53:36 +00:00
panvk_meta.h panvk: Switch JM clear queries to CLC 2025-02-13 11:50:06 +00:00
panvk_physical_device.c panvk: check for texture-compression support 2025-04-01 14:55:46 +00:00
panvk_physical_device.h panvk: make vk-version helper internal to source 2024-12-16 12:10:50 +00:00
panvk_precomp_cache.h panvk: Implement precomp dispatch 2025-02-11 12:33:23 +00:00
panvk_priv_bo.c panvk: Catch indirect allocation failures 2024-10-01 14:36:38 +00:00
panvk_priv_bo.h panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_query_pool.h panvk: widen type before multiplying 2024-11-28 10:22:22 +00:00
panvk_sampler.h panvk: Use multiple sampler planes and one texture descriptor per plane 2025-02-08 07:48:41 +00:00
panvk_shader.h panfrost,panvk: Wire printf and abort support 2025-02-11 12:33:23 +00:00
panvk_tracepoints.py panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
panvk_utrace.c u_trace: pass tracepoint flags to the read_timestamp callback 2025-02-24 08:08:02 +00:00
panvk_utrace.h u_trace: pass tracepoint flags to the read_timestamp callback 2025-02-24 08:08:02 +00:00
panvk_utrace_perfetto.cc panvk: silence a perfetto init warning 2024-12-19 19:00:13 +00:00
panvk_utrace_perfetto.h panvk: add u_trace perfetto support 2024-12-17 23:14:26 +00:00
panvk_vX_blend.c pan/genxml: Stop using "constant" for struct fields in xml defs 2025-02-11 12:33:23 +00:00
panvk_vX_buffer_view.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
panvk_vX_cmd_desc_state.c pan/genxml: Enforce explicit packed types on pan_[un]pack 2025-01-10 18:27:27 +00:00
panvk_vX_cmd_dispatch.c panfrost,panvk: Wire printf and abort support 2025-02-11 12:33:23 +00:00
panvk_vX_cmd_draw.c panfrost,panvk: Wire printf and abort support 2025-02-11 12:33:23 +00:00
panvk_vX_cmd_fb_preload.c pan/genxml: Use DCD Flags in Draw struct on v9+ 2025-02-26 10:17:11 +00:00
panvk_vX_cmd_meta.c panvk: Pack push constants 2025-01-07 08:15:19 +00:00
panvk_vX_cmd_push_constant.c panfrost: Kill the mali_ptr typedef 2025-01-07 11:10:55 +00:00
panvk_vX_descriptor_set.c panvk: Use multiple sampler planes and one texture descriptor per plane 2025-02-08 07:48:41 +00:00
panvk_vX_descriptor_set_layout.c vulkan/runtime: store flags on descriptor set layouts 2025-02-27 13:26:58 +02:00
panvk_vX_device.c panvk: Use the new buffer device address infrastructure 2025-03-06 09:46:00 +00:00
panvk_vX_image_view.c panvk: Enable YCbCr support for v10+ 2025-02-08 07:48:41 +00:00
panvk_vX_nir_lower_descriptors.c panvk: Use multiple sampler planes and one texture descriptor per plane 2025-02-08 07:48:41 +00:00
panvk_vX_precomp_cache.c panvk: Implement precomp dispatch 2025-02-11 12:33:23 +00:00
panvk_vX_query_pool.c panvk: no need to zero results on query reset 2025-01-14 05:43:46 +00:00
panvk_vX_sampler.c panvk: Use multiple sampler planes and one texture descriptor per plane 2025-02-08 07:48:41 +00:00
panvk_vX_shader.c panvk: Support shaderImageGatherExtended 2025-04-01 08:04:32 +00:00
panvk_wsi.c panvk: add basic driconf infrastructure 2025-03-31 09:24:04 +00:00
panvk_wsi.h