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:
Bas Nieuwenhuizen
2020-01-01 14:47:14 +01:00
parent 69bdc1c5fc
commit 59c4fb9d72

View File

@@ -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