asahi: advertise ASTC HDR formats

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35132>
This commit is contained in:
Alyssa Rosenzweig
2025-05-27 12:03:52 -04:00
committed by Marge Bot
parent be74e9ffaf
commit d7c0355725
3 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
GL_EXT_texture_view DONE (all drivers that support GL_OES_texture_view)
GL_KHR_blend_equation_advanced_coherent DONE (freedreno/a6xx, panfrost, zink, asahi, iris/gen9+, v3d)
GL_KHR_shader_subgroup DONE (radeonsi, zink)
GL_KHR_texture_compression_astc_hdr DONE (panfrost)
GL_KHR_texture_compression_astc_hdr DONE (panfrost, asahi)
GL_KHR_texture_compression_astc_sliced_3d DONE (freedreno/a4xx+, r600, radeonsi, panfrost, softpipe, v3d, zink, lima, asahi, iris/gen9+)
GL_OES_depth_texture_cube_map DONE (all drivers that support GLSL 1.30+)
GL_OES_EGL_image DONE (all drivers)
+1 -1
View File
@@ -26,4 +26,4 @@ VK_EXT_primitive_topology_list_restart on panvk
VK_EXT_image_2d_view_of_3d on panvk
VK_EXT_texel_buffer_alignment on panvk
cl_khr_kernel_clock on freedreno, iris, llvmpipe, nvc0, panfrost, radeonsi and zink with llvm-19 or newer
GL_KHR_texture_compression_astc_hdr on panfrost
GL_KHR_texture_compression_astc_hdr on panfrost and asahi
+15
View File
@@ -243,6 +243,21 @@ const struct ail_pixel_format_entry ail_pixel_format[PIPE_FORMAT_COUNT] = {
AIL_FMT(ASTC_12x10_SRGB, ASTC_12X10, UNORM, _),
AIL_FMT(ASTC_12x12_SRGB, ASTC_12X12, UNORM, _),
AIL_FMT(ASTC_4x4_FLOAT, ASTC_4X4, FLOAT, _),
AIL_FMT(ASTC_5x4_FLOAT, ASTC_5X4, FLOAT, _),
AIL_FMT(ASTC_5x5_FLOAT, ASTC_5X5, FLOAT, _),
AIL_FMT(ASTC_6x5_FLOAT, ASTC_6X5, FLOAT, _),
AIL_FMT(ASTC_6x6_FLOAT, ASTC_6X6, FLOAT, _),
AIL_FMT(ASTC_8x5_FLOAT, ASTC_8X5, FLOAT, _),
AIL_FMT(ASTC_8x6_FLOAT, ASTC_8X6, FLOAT, _),
AIL_FMT(ASTC_8x8_FLOAT, ASTC_8X8, FLOAT, _),
AIL_FMT(ASTC_10x5_FLOAT, ASTC_10X5, FLOAT, _),
AIL_FMT(ASTC_10x6_FLOAT, ASTC_10X6, FLOAT, _),
AIL_FMT(ASTC_10x8_FLOAT, ASTC_10X8, FLOAT, _),
AIL_FMT(ASTC_10x10_FLOAT, ASTC_10X10, FLOAT, _),
AIL_FMT(ASTC_12x10_FLOAT, ASTC_12X10, FLOAT, _),
AIL_FMT(ASTC_12x12_FLOAT, ASTC_12X12, FLOAT, _),
AIL_FMT(DXT1_RGB, BC1, UNORM, _),
AIL_FMT(DXT1_RGBA, BC1, UNORM, _),
AIL_FMT(DXT1_SRGB, BC1, UNORM, _),