[Mesa-dev] [PATCH 2/3] mesa: Implement GL_ARB_texture_filter_anisotropic

Ilia Mirkin imirkin at alum.mit.edu
Tue Aug 8 16:01:13 UTC 2017


On Tue, Aug 8, 2017 at 11:52 AM, Adam Jackson <ajax at redhat.com> wrote:
> The only difference from the EXT version is bumping the minmax to 16, so
> just hit all the drivers at once.
>
> Signed-off-by: Adam Jackson <ajax at redhat.com>
> ---
>  docs/features.txt                            | 4 +++-
>  src/glx/glxextensions.c                      | 1 +
>  src/glx/glxextensions.h                      | 1 +
>  src/mesa/drivers/dri/i965/intel_extensions.c | 1 +
>  src/mesa/drivers/dri/r200/r200_context.c     | 1 +
>  src/mesa/drivers/dri/radeon/radeon_context.c | 1 +
>  src/mesa/main/extensions.c                   | 1 +
>  src/mesa/main/extensions_table.h             | 1 +
>  src/mesa/main/mtypes.h                       | 1 +
>  src/mesa/main/version.c                      | 2 +-
>  src/mesa/state_tracker/st_extensions.c       | 4 ++++
>  11 files changed, 16 insertions(+), 2 deletions(-)
>
> diff --git a/docs/features.txt b/docs/features.txt
> index ac7645d069..b9cbd8818f 100644
> --- a/docs/features.txt
> +++ b/docs/features.txt
> @@ -231,10 +231,12 @@ GL 4.6, GLSL 4.60
>    GL_ARB_shader_draw_parameters                         DONE (i965, nvc0, radeonsi)
>    GL_ARB_shader_group_vote                              DONE (i965, nvc0, radeonsi)
>    GL_ARB_spirv_extensions                               in progress (Nicolai Hähnle, Ian Romanick)
> -  GL_ARB_texture_filter_anisotropic                     not started
> +  GL_ARB_texture_filter_anisotropic                     DONE (i965, nv40+, all radeons, softpipe (*), llvmpipe (*))

Normally this is listed as nv30, nv50, nvc0, r300, r600, radeonsi as
those are treated as separate drivers. Unfortunately there are scripts
that parse these things and expect fixed strings.

Also:

src/gallium/drivers/etnaviv/etnaviv_screen.c:   case
PIPE_CAPF_MAX_TEXTURE_ANISOTROPY:
src/gallium/drivers/etnaviv/etnaviv_screen.c-      return 16.0f;
src/gallium/drivers/freedreno/freedreno_screen.c:       case
PIPE_CAPF_MAX_TEXTURE_ANISOTROPY:
src/gallium/drivers/freedreno/freedreno_screen.c-               return 16.0f;
src/gallium/drivers/virgl/virgl_screen.c:   case
PIPE_CAPF_MAX_TEXTURE_ANISOTROPY:
src/gallium/drivers/virgl/virgl_screen.c-      return 16.0;

Also add it to relnotes/17.3.0.html

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>


More information about the mesa-dev mailing list