From: Jason Ekstrand Date: Fri, 24 Aug 2018 20:27:38 +0000 (-0500) Subject: intel/decoder: Print ISL formats for vertex elements X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1971be6ea274dae7869e205269c91c3852eec1f;p=mesa.git intel/decoder: Print ISL formats for vertex elements Reviewed-by: Lionel Landwerlin --- diff --git a/src/intel/common/gen_decoder.c b/src/intel/common/gen_decoder.c index e9dabeae653..9e46f271633 100644 --- a/src/intel/common/gen_decoder.c +++ b/src/intel/common/gen_decoder.c @@ -971,7 +971,8 @@ iter_decode_field(struct gen_field_iterator *iter) int length = strlen(iter->value); snprintf(iter->value + length, sizeof(iter->value) - length, " (%s)", enum_name); - } else if (strcmp(iter->name, "Surface Format") == 0) { + } else if (strcmp(iter->name, "Surface Format") == 0 || + strcmp(iter->name, "Source Element Format") == 0) { if (isl_format_is_valid((enum isl_format)v.qw)) { const char *fmt_name = isl_format_get_name((enum isl_format)v.qw); int length = strlen(iter->value);