svga: Enable GL_ARB_texture_mirror_clamp_to_edge

We've supported this via SVGA3D_TEX_ADDRESS_MIRRORONCE for years.
Lets enable it as it gets us slightly closer to GL 4.4.

Signed-off-by: Ian Forbes <ian.forbes@broadcom.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38854>
This commit is contained in:
Ian Forbes 2025-12-08 11:56:45 -06:00 committed by Marge Bot
parent 5ced623fdf
commit 6beb92a0d4
2 changed files with 2 additions and 1 deletions

View file

@ -206,7 +206,7 @@ GL 4.4, GLSL 4.40 -- all DONE: freedreno/a6xx, nvc0, r600, radeonsi, llvmpipe, v
- input/output block locations DONE
GL_ARB_multi_bind DONE (all drivers)
GL_ARB_query_buffer_object DONE (freedreno/a6xx)
GL_ARB_texture_mirror_clamp_to_edge DONE (freedreno, nv50, softpipe, v3d, panfrost, crocus)
GL_ARB_texture_mirror_clamp_to_edge DONE (freedreno, nv50, softpipe, v3d, panfrost, crocus, svga)
GL_ARB_texture_stencil8 DONE (freedreno, nv50, softpipe, v3d, panfrost, etnaviv/HALTI5)
GL_ARB_vertex_type_10f_11f_11f_rev DONE (freedreno, nv50, softpipe, panfrost, crocus)
GL_NV_shader_atomic_int64 DONE (radeonsi, panfrost/v9+)

View file

@ -386,6 +386,7 @@ svga_init_screen_caps(struct svga_screen *svgascreen)
caps->occlusion_query = true;
caps->texture_buffer_objects = sws->have_vgpu10;
caps->texture_buffer_offset_alignment = sws->have_vgpu10 ? 16 : 0;
caps->texture_mirror_clamp_to_edge = sws->have_vgpu10;
caps->texture_swizzle = true;
caps->constant_buffer_offset_alignment = 256;