Only used in debug builds.
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18643>
case PIPE_FORMAT_B10G10R10X2_SINT:
return PIPE_FORMAT_B10G10R10A2_SINT;
default: {
- const struct util_format_description *desc = util_format_description(format);
+ ASSERTED const struct util_format_description *desc = util_format_description(format);
/* Assert that the format doesn't contain X instead of A. */
assert(desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS ||