util: (trivial) ETC1 meets the criteria for fitting into unorm8
Just like other similar compressed formats. Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
43cdbb3e6a
commit
775a244645
|
@ -561,6 +561,11 @@ util_format_fits_8unorm(const struct util_format_description *format_desc)
|
|||
return TRUE;
|
||||
return FALSE;
|
||||
|
||||
case UTIL_FORMAT_LAYOUT_ETC:
|
||||
if (format_desc->format == PIPE_FORMAT_ETC1_RGB8)
|
||||
return TRUE;
|
||||
return FALSE;
|
||||
|
||||
case UTIL_FORMAT_LAYOUT_PLAIN:
|
||||
/*
|
||||
* For these we can find a generic rule.
|
||||
|
|
Loading…
Reference in New Issue