mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 22:20:09 +01:00
brw: improve VUE printout
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Ivan Briano <ivan.briano@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34109>
This commit is contained in:
parent
4f10a1f618
commit
b8a80c88cb
1 changed files with 5 additions and 4 deletions
|
|
@ -286,18 +286,19 @@ brw_print_vue_map(FILE *fp, const struct intel_vue_map *vue_map,
|
|||
vue_map->separate ? "SSO" : "non-SSO");
|
||||
for (int i = 0; i < vue_map->num_slots; i++) {
|
||||
if (vue_map->slot_to_varying[i] >= VARYING_SLOT_PATCH0) {
|
||||
fprintf(fp, " [%d] VARYING_SLOT_PATCH%d\n", i,
|
||||
fprintf(fp, " [%02d] VARYING_SLOT_PATCH%d\n", i,
|
||||
vue_map->slot_to_varying[i] - VARYING_SLOT_PATCH0);
|
||||
} else {
|
||||
fprintf(fp, " [%d] %s\n", i,
|
||||
fprintf(fp, " [%02d] %s\n", i,
|
||||
varying_name(vue_map->slot_to_varying[i], stage));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
fprintf(fp, "VUE map (%d slots, %s)\n",
|
||||
fprintf(fp, "%s VUE map (%d slots, %s)\n",
|
||||
gl_shader_stage_name(stage),
|
||||
vue_map->num_slots, vue_map->separate ? "SSO" : "non-SSO");
|
||||
for (int i = 0; i < vue_map->num_slots; i++) {
|
||||
fprintf(fp, " [%d] %s\n", i,
|
||||
fprintf(fp, " [%02d] %s\n", i,
|
||||
varying_name(vue_map->slot_to_varying[i], stage));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue