panfrost: enable ARB_texture_query_lod on v9+

We've been reporting in features.txt that we support this extension
unconditionally, but we didn't. Now that we have the bits wired up due
to Vulkan, we can actually enable it on Bifrost and later.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
This commit is contained in:
Erik Faye-Lund 2025-04-02 09:41:28 +02:00
parent 5e4254f770
commit 44dfa55b9d
5 changed files with 5 additions and 1 deletions

View file

@ -135,7 +135,7 @@ GL 4.0, GLSL 4.00 --- all DONE: freedreno/a6xx, nvc0, r600, radeonsi, llvmpipe,
GL_ARB_texture_buffer_object_rgb32 DONE (freedreno, softpipe, panfrost, crocus/gen6+)
GL_ARB_texture_cube_map_array DONE (freedreno/a4xx+, nv50, softpipe, v3d, panfrost, crocus/gen6+)
GL_ARB_texture_gather DONE (freedreno, nv50, softpipe, v3d, panfrost)
GL_ARB_texture_query_lod DONE (freedreno, nv50, softpipe, v3d, panfrost, crocus/gen5+)
GL_ARB_texture_query_lod DONE (freedreno, nv50, softpipe, v3d, panfrost/v9+, crocus/gen5+)
GL_ARB_transform_feedback2 DONE (freedreno/a3xx+, nv50, softpipe, v3d, panfrost, crocus/gen6+)
GL_ARB_transform_feedback3 DONE (freedreno/a3xx+, softpipe, panfrost)

View file

@ -10,3 +10,4 @@ shaderImageGatherExtended on pvr
static C++ stdlib required on rusticl to workaround applications using their own C++ stdlib
VK_EXT_pipeline_protected_access on RADV
VK_EXT_extended_dynamic_state3 on panvk
GL_ARB_texture_query_lod on panfrost/v9+

View file

@ -690,6 +690,7 @@ panfrost_init_screen_caps(struct panfrost_screen *screen)
caps->depth_clip_disable = true;
caps->mixed_framebuffer_sizes = true;
caps->frontend_noop = true;
caps->texture_query_lod = dev->arch >= 9;
caps->sample_shading = dev->arch >= 6;
caps->fragment_shader_derivatives = true;
caps->framebuffer_no_attachment = true;

View file

@ -62,6 +62,7 @@ GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_mirror_clamp_to_edge
GL_EXT_texture_norm16
GL_EXT_texture_query_lod
GL_EXT_texture_rg
GL_EXT_texture_sRGB_decode
GL_EXT_texture_sRGB_R8

View file

@ -62,6 +62,7 @@ GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_mirror_clamp_to_edge
GL_EXT_texture_norm16
GL_EXT_texture_query_lod
GL_EXT_texture_rg
GL_EXT_texture_sRGB_decode
GL_EXT_texture_sRGB_R8