etnaviv: anisotropic filtering is supported starting with HALTI0
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 22 Nov 2019 06:59:30 +0000 (07:59 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 06:46:00 +0000 (06:46 +0000)
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/2888>

src/gallium/drivers/etnaviv/etnaviv_screen.c

index ad33790b427a5f630d780f9950bb6c112d687bb3..338b643c7bedf2cbe67d8013f39eaacece2c004b 100644 (file)
@@ -134,7 +134,6 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
 
    switch (param) {
    /* Supported features (boolean caps). */
-   case PIPE_CAP_ANISOTROPIC_FILTER:
    case PIPE_CAP_POINT_SPRITE:
    case PIPE_CAP_BLEND_EQUATION_SEPARATE:
    case PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT:
@@ -172,6 +171,7 @@ etna_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
       return true; /* VIV_FEATURE(priv->dev, chipMinorFeatures1,
                       NON_POWER_OF_TWO); */
 
+   case PIPE_CAP_ANISOTROPIC_FILTER:
    case PIPE_CAP_TEXTURE_SWIZZLE:
    case PIPE_CAP_PRIMITIVE_RESTART:
       return VIV_FEATURE(screen, chipMinorFeatures1, HALTI0);