[Mesa-dev] [PATCH 2/2] split-to-files.py: fix parsing tessellation shaders

Marek Olšák maraeo at gmail.com
Sat Jan 23 03:47:52 PST 2016


From: Marek Olšák <marek.olsak at amd.com>

---
 split-to-files.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/split-to-files.py b/split-to-files.py
index 14f19a4..04dc867 100755
--- a/split-to-files.py
+++ b/split-to-files.py
@@ -88,9 +88,9 @@ def write_shader_test(filename, shaders):
             out.write("[fragment shader]\n")
         elif stage == "geometry":
             out.write("[geometry shader]\n")
-        elif stage == "tess ctrl":
+        elif stage == "tess ctrl" or stage == "tessellation control":
             out.write("[tessellation control shader]\n")
-        elif stage == "tess eval":
+        elif stage == "tess eval" or stage == "tessellation evaluation":
             out.write("[tessellation evaluation shader]\n")
         else:
             assert False, stage
-- 
2.1.4



More information about the mesa-dev mailing list