diff options
author | Wladimir <[email protected]> | 2013-04-05 19:49:26 +0200 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-04-05 16:14:51 -0600 |
commit | 1a868acbecdd7b7cb71342a75a36ad9a80d8eb17 (patch) | |
tree | b86683519a8b5ecf77f0e1b759b34b31584ca161 | |
parent | de99b6d1170277e228dfd3b22297554619169ebf (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
-rw-r--r-- | src/gallium/auxiliary/util/u_format.h | 1 |
1 files changed, 1 insertions, 0 deletions
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: |