[Mesa-dev] [PATCH] gallium/auxiliary: Add ETC as compressed format
Brian Paul
brianp at vmware.com
Fri Apr 5 11:05:37 PDT 2013
On 04/05/2013 11:49 AM, Wladimir wrote:
> From 1b3d69d7749e3b82f529d2a41b80f5cd64447d92 Mon Sep 17 00:00:00 2001
> From: "Wladimir J. van der Laan" <laanwj at gmail.com
> <mailto:laanwj at gmail.com>>
> Date: Fri, 5 Apr 2013 18:58:32 +0200
> Subject: [PATCH] gallium/auxiliary: Add ETC as compressed format
>
> Add UTIL_FORMAT_LAYOUT_ETC to util_format_is_compressed. It was missing.
>
> Signed-off-by: Wladimir J. van der Laan <laanwj at gmail.com
> <mailto:laanwj at gmail.com>>
> ---
> src/gallium/auxiliary/util/u_format.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/auxiliary/util/u_format.h
> b/src/gallium/auxiliary/util/u_format.h
> index 0030126..ed942fb 100644
> --- a/src/gallium/auxiliary/util/u_format.h
> +++ b/src/gallium/auxiliary/util/u_format.h
> @@ -447,6 +447,7 @@ util_format_is_compressed(enum pipe_format format)
> switch (desc->layout) {
> case UTIL_FORMAT_LAYOUT_S3TC:
> case UTIL_FORMAT_LAYOUT_RGTC:
> + case UTIL_FORMAT_LAYOUT_ETC:
> /* XXX add other formats in the future */
> return TRUE;
> default:
Reviewed-by: Brian Paul <brianp at vmware.com>
Do you need someone to commit this for you?
-Brian
More information about the mesa-dev
mailing list