summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_compiler.c
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2015-08-16 13:31:58 -0300
committerIlia Mirkin <imirkin@alum.mit.edu>2015-08-17 23:05:00 -0400
commitdf97126731a745c1797c783414a44652be039d84 (patch)
tree6a9e7c45b8e0a82e625b41c8e8bb96622c56aec5 /src/gallium/drivers/nouveau/nouveau_compiler.c
parent723a5a2e6881e55b50b23c470d7591360f061dba (diff)
downloadexternal_mesa3d-df97126731a745c1797c783414a44652be039d84.zip
external_mesa3d-df97126731a745c1797c783414a44652be039d84.tar.gz
external_mesa3d-df97126731a745c1797c783414a44652be039d84.tar.bz2
nouveau: recognize tess stages in nouveau_compiler
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_compiler.c')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_compiler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_compiler.c b/src/gallium/drivers/nouveau/nouveau_compiler.c
index 8660498..495450b 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;