nir: print non-uniform tex fields.
To ease debugging in the future. Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3246> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3246>
This commit is contained in:
@@ -1135,6 +1135,14 @@ print_tex_instr(nir_tex_instr *instr, print_state *state)
|
||||
fprintf(fp, ", %u (sampler)", instr->sampler_index);
|
||||
}
|
||||
}
|
||||
|
||||
if (instr->texture_non_uniform) {
|
||||
fprintf(fp, ", texture non-uniform");
|
||||
}
|
||||
|
||||
if (instr->sampler_non_uniform) {
|
||||
fprintf(fp, ", sampler non-uniform");
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user