mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
nir: print interp_mode better
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31968>
This commit is contained in:
parent
2ca56376a4
commit
aee1ebb992
1 changed files with 5 additions and 0 deletions
|
|
@ -1607,6 +1607,11 @@ print_intrinsic_instr(nir_intrinsic_instr *instr, print_state *state)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case NIR_INTRINSIC_INTERP_MODE:
|
||||||
|
fprintf(fp, "interp_mode=%s",
|
||||||
|
glsl_interp_mode_name(nir_intrinsic_interp_mode(instr)));
|
||||||
|
break;
|
||||||
|
|
||||||
default: {
|
default: {
|
||||||
unsigned off = info->index_map[idx] - 1;
|
unsigned off = info->index_map[idx] - 1;
|
||||||
fprintf(fp, "%s=%d", nir_intrinsic_index_names[idx], instr->const_index[off]);
|
fprintf(fp, "%s=%d", nir_intrinsic_index_names[idx], instr->const_index[off]);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue