diff options
author | Jason Ekstrand <[email protected]> | 2018-08-24 15:27:38 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-08-25 07:50:40 -0500 |
commit | d1971be6ea274dae7869e205269c91c3852eec1f (patch) | |
tree | 1991b6bd846feeb2928064c0c2f0d41a430b7f73 | |
parent | 2abd7ae189135eb5a1f530a3a1c9412d3a7e238d (diff) |
intel/decoder: Print ISL formats for vertex elements
Reviewed-by: Lionel Landwerlin <[email protected]>
-rw-r--r-- | src/intel/common/gen_decoder.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |