[Mesa-dev] [PATCH 3/3] nouveau: recognize tess stages in nouveau_compiler

2015-08-16 Thread Marcos Paulo de Souza
From: Marcos Paulo de Souza marcos.souza@gmail.com

---
 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 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;
-- 
2.4.3

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [PATCH 3/3] nouveau: recognize tess stages in nouveau_compiler

2015-08-16 Thread Marcos Paulo de Souza
From: Marcos Paulo de Souza marcos.souza@gmail.com

---
 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 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;
-- 
2.4.3

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev