From 48158636bf1b0e62ebab4835e1f474866a34c6fe Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Thu, 13 Apr 2023 14:13:35 +0100 Subject: nir: add is_gather_implicit_lod Needed for SPV_AMD_texture_gather_bias_lod. Signed-off-by: Rhys Perry Reviewed-by: Georg Lehmann Part-of: --- src/compiler/nir/nir_print.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/compiler/nir/nir_print.c') diff --git a/src/compiler/nir/nir_print.c b/src/compiler/nir/nir_print.c index 6073e4121b8..05ad3f3ef81 100644 --- a/src/compiler/nir/nir_print.c +++ b/src/compiler/nir/nir_print.c @@ -1401,6 +1401,9 @@ print_tex_instr(nir_tex_instr *instr, print_state *state) } } + if (instr->is_gather_implicit_lod) + fprintf(fp, ", implicit lod"); + if (instr->op == nir_texop_tg4) { fprintf(fp, ", %u (gather_component)", instr->component); } -- cgit v1.2.1