nir/print: support nir_texop_descriptor_amd
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 5 Aug 2022 15:34:09 +0000 (16:34 +0100)
committerMarge Bot <emma+marge@anholt.net>
Tue, 30 Aug 2022 07:37:08 +0000 (07:37 +0000)
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Fixes: 3098000e712 ("nir: add nir_texop_descriptor_amd")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17991>

src/compiler/nir/nir_print.c

index 3162f0d..edc83db 100644 (file)
@@ -1244,6 +1244,9 @@ print_tex_instr(nir_tex_instr *instr, print_state *state)
    case nir_texop_fragment_mask_fetch_amd:
       fprintf(fp, "fragment_mask_fetch_amd ");
       break;
+   case nir_texop_descriptor_amd:
+      fprintf(fp, "descriptor_amd ");
+      break;
    default:
       unreachable("Invalid texture operation");
       break;