nouveau: recognize tess stages in nouveau_compiler
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>
Sun, 16 Aug 2015 16:31:58 +0000 (13:31 -0300)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 18 Aug 2015 03:05:00 +0000 (23:05 -0400)
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nouveau_compiler.c

index 86604984220b719b630471fd290f27c98c649f9b..495450b317a92369964b7122e5f41403a6f09a7d 100644 (file)
@@ -190,6 +190,10 @@ main(int argc, char *argv[])
       type = PIPE_SHADER_GEOMETRY;
    else if (!strncmp(text, "COMP", 4))
       type = PIPE_SHADER_COMPUTE;
+   else if (!strncmp(text, "TESS_CTRL", 9))
+      type = PIPE_SHADER_TESS_CTRL;
+   else if (!strncmp(text, "TESS_EVAL", 9))
+      type = PIPE_SHADER_TESS_EVAL;
    else {
       _debug_printf("Unrecognized TGSI header\n");
       return 1;