[Mesa-dev] [PATCH] gallium/swr: Enable support bptc format.

Cherniak, Bruce bruce.cherniak at intel.com
Fri Jul 27 20:02:16 UTC 2018


Reviewed-by: Bruce Cherniak <bruce.cherniak at intel.com> 

> On Jul 27, 2018, at 1:45 PM, Denis Pauk <pauk.denis at gmail.com> wrote:
> 
> Reuse Code from:
> f69bc797e1 gallium/auxiliary: Add helper support for bptc format compress/decompress
> 
> Signed-off-by: Denis Pauk <pauk.denis at gmail.com>
> CC: Marek Olšák <maraeo at gmail.com>
> CC: Bruce Cherniak <bruce.cherniak at intel.com>
> CC: Tim Rowley <timothy.o.rowley at intel.com>
> ---
> src/gallium/drivers/swr/swr_screen.cpp | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/src/gallium/drivers/swr/swr_screen.cpp b/src/gallium/drivers/swr/swr_screen.cpp
> index 65fa1bc50e..1cc01aa47d 100644
> --- a/src/gallium/drivers/swr/swr_screen.cpp
> +++ b/src/gallium/drivers/swr/swr_screen.cpp
> @@ -137,8 +137,7 @@ swr_is_format_supported(struct pipe_screen *_screen,
>          return FALSE;
>    }
> 
> -   if (format_desc->layout == UTIL_FORMAT_LAYOUT_BPTC ||
> -       format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
> +   if (format_desc->layout == UTIL_FORMAT_LAYOUT_ASTC) {
>       return FALSE;
>    }
> 
> -- 
> 2.18.0
> 



More information about the mesa-dev mailing list