<div dir="ltr">From 1b3d69d7749e3b82f529d2a41b80f5cd64447d92 Mon Sep 17 00:00:00 2001<br>From: "Wladimir J. van der Laan" <<a href="mailto:laanwj@gmail.com">laanwj@gmail.com</a>><br>Date: Fri, 5 Apr 2013 18:58:32 +0200<br>
Subject: [PATCH] gallium/auxiliary: Add ETC as compressed format<br><br>Add UTIL_FORMAT_LAYOUT_ETC to util_format_is_compressed. It was missing.<br><br>Signed-off-by: Wladimir J. van der Laan <<a href="mailto:laanwj@gmail.com">laanwj@gmail.com</a>><br>
---<br> src/gallium/auxiliary/util/u_format.h | 1 +<br> 1 file changed, 1 insertion(+)<br><br>diff --git a/src/gallium/auxiliary/util/u_format.h b/src/gallium/auxiliary/util/u_format.h<br>index 0030126..ed942fb 100644<br>
--- a/src/gallium/auxiliary/util/u_format.h<br>+++ b/src/gallium/auxiliary/util/u_format.h<br>@@ -447,6 +447,7 @@ util_format_is_compressed(enum pipe_format format)<br> switch (desc->layout) {<br> case UTIL_FORMAT_LAYOUT_S3TC:<br>
case UTIL_FORMAT_LAYOUT_RGTC:<br>+ case UTIL_FORMAT_LAYOUT_ETC:<br> /* XXX add other formats in the future */<br> return TRUE;<br> default:<br>-- <br>1.7.9.5<br><br></div>