mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 00:00:12 +01:00
intel/decoder: Print ISL formats for vertex elements
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
2abd7ae189
commit
d1971be6ea
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue