From: Wladimir Date: Fri, 5 Apr 2013 17:49:26 +0000 (+0200) Subject: util: add ETC as compressed format X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a868acbecdd7b7cb71342a75a36ad9a80d8eb17;p=mesa.git util: 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 Reviewed-by: Brian Paul --- diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h index 00301265db8..ed942fb1658 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: