Mesa (master): nouveau: recognize tess stages in nouveau_compiler

Ilia Mirkin imirkin at kemper.freedesktop.org
Tue Aug 18 03:10:20 UTC 2015


Module: Mesa
Branch: master
Commit: df97126731a745c1797c783414a44652be039d84
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=df97126731a745c1797c783414a44652be039d84

Author: Marcos Paulo de Souza <marcos.souza.org at gmail.com>
Date:   Sun Aug 16 13:31:58 2015 -0300

nouveau: recognize tess stages in nouveau_compiler

Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 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;




More information about the mesa-commit mailing list