[Mesa-dev] [PATCH v3 4/4] gallium/llvmpipe: Enable support bptc format.

Marek Olšák maraeo at gmail.com
Fri Jun 29 21:28:58 UTC 2018


For the series:

Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Tue, Jun 26, 2018 at 4:30 PM, Denis Pauk <pauk.denis at gmail.com> wrote:
> v2: none
> v3: none
>
> Signed-off-by: Denis Pauk <pauk.denis at gmail.com>
> CC: Marek Olšák <maraeo at gmail.com>
> CC: Rhys Perry <pendingchaos02 at gmail.com>
> CC: Matt Turner <mattst88 at gmail.com>
> ---
>  src/gallium/drivers/llvmpipe/lp_screen.c      | 3 +--
>  src/gallium/drivers/llvmpipe/lp_test_format.c | 3 +--
>  2 files changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/src/gallium/drivers/llvmpipe/lp_screen.c b/src/gallium/drivers/llvmpipe/lp_screen.c
> index 28dbd9908f..9921a941d5 100644
> --- a/src/gallium/drivers/llvmpipe/lp_screen.c
> +++ b/src/gallium/drivers/llvmpipe/lp_screen.c
> @@ -534,8 +534,7 @@ llvmpipe_is_format_supported( struct pipe_screen *_screen,
>        }
>     }
>
> -   if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
> -       format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
> +   if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
>        /* Software decoding is not hooked up. */
>        return FALSE;
>     }
> diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c
> index e9a6e01fdc..a8aa33d8ae 100644
> --- a/src/gallium/drivers/llvmpipe/lp_test_format.c
> +++ b/src/gallium/drivers/llvmpipe/lp_test_format.c
> @@ -388,8 +388,7 @@ test_all(unsigned verbose, FILE *fp)
>        }
>
>        /* missing fetch funcs */
> -      if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
> -          format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
> +      if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
>           continue;
>        }
>
> --
> 2.18.0
>


More information about the mesa-dev mailing list