Module: Mesa Branch: master Commit: 1a868acbecdd7b7cb71342a75a36ad9a80d8eb17 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a868acbecdd7b7cb71342a75a36ad9a80d8eb17
Author: Wladimir <[email protected]> Date: Fri Apr 5 19:49:26 2013 +0200 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]> --- 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 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: _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
