[Mesa-dev] [PATCH 3/3] nouveau: recognize tess stages in nouveau_compiler
Marcos Paulo de Souza
marcos.souza.org at gmail.com
Sun Aug 16 09:31:58 PDT 2015
From: Marcos Paulo de Souza <marcos.souza.org at 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
More information about the mesa-dev
mailing list