mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
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 <laanwj@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
de99b6d117
commit
1a868acbec
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue