mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
nir: print ptr_stride for deref_casts
Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
9c7adaeb5f
commit
2614319259
1 changed files with 4 additions and 0 deletions
|
|
@ -716,6 +716,10 @@ print_deref_instr(nir_deref_instr *instr, print_state *state)
|
|||
print_deref_link(instr, true, state);
|
||||
fprintf(fp, " */");
|
||||
}
|
||||
|
||||
if (instr->deref_type == nir_deref_type_cast) {
|
||||
fprintf(fp, " /* ptr_stride=%u */", instr->cast.ptr_stride);
|
||||
}
|
||||
}
|
||||
|
||||
static const char *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue