From df97126731a745c1797c783414a44652be039d84 Mon Sep 17 00:00:00 2001 From: Marcos Paulo de Souza Date: Sun, 16 Aug 2015 13:31:58 -0300 Subject: [PATCH] nouveau: recognize tess stages in nouveau_compiler Reviewed-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nouveau_compiler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gallium/drivers/nouveau/nouveau_compiler.c b/src/gallium/drivers/nouveau/nouveau_compiler.c index 86604984220..495450b317a 100644 --- a/src/gallium/drivers/nouveau/nouveau_compiler.c +++ b/src/gallium/drivers/nouveau/nouveau_compiler.c @@ -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; -- 2.30.2