nir: fix printing of vec16 type
authorKarol Herbst <kherbst@redhat.com>
Thu, 12 Jul 2018 04:27:49 +0000 (06:27 +0200)
committerKarol Herbst <kherbst@redhat.com>
Sun, 15 Jul 2018 17:28:37 +0000 (19:28 +0200)
Fixes: 2f181c8c183cc8b4d0450789bb20c2be48d32db3
       "glsl_types: vec8/vec16 support"

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/compiler/nir/nir_print.c

index 18860db0058b37a7d8da1a0648492516742de7b4..4fa12d2d2070f10ab4484052ae3ea9c8daf4fc32 100644 (file)
@@ -88,6 +88,7 @@ print_register(nir_register *reg, print_state *state)
 
 static const char *sizes[] = { "error", "vec1", "vec2", "vec3", "vec4",
                                "error", "error", "error", "vec8",
+                               "error", "error", "error", "error",
                                "error", "error", "error", "vec16"};
 
 static void