diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2023-04-13 14:13:35 +0100 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2023-04-18 10:42:07 +0000 |
commit | 48158636bf1b0e62ebab4835e1f474866a34c6fe (patch) | |
tree | 3218ead8399b237a00ba83cf3de68c2a5b003c70 /src/compiler/nir/nir_print.c | |
parent | 73e9cf606267938586a39d6cc59e3cd9f26e05b7 (diff) | |
download | mesa-48158636bf1b0e62ebab4835e1f474866a34c6fe.tar.gz |
nir: add is_gather_implicit_lod
Needed for SPV_AMD_texture_gather_bias_lod.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22315>
Diffstat (limited to 'src/compiler/nir/nir_print.c')
-rw-r--r-- | src/compiler/nir/nir_print.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |