[Mesa-dev] [PATCH shader-db 2/4] split-to-files.py: fix parsing compute shaders

Marek Olšák maraeo at gmail.com
Thu Jun 30 15:03:24 UTC 2016


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

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

diff --git a/split-to-files.py b/split-to-files.py
index 7e14d89..0e1d729 100755
--- a/split-to-files.py
+++ b/split-to-files.py
@@ -92,6 +92,8 @@ def write_shader_test(filename, shaders):
             out.write("[tessellation control shader]\n")
         elif stage == "tess eval" or stage == "tessellation evaluation":
             out.write("[tessellation evaluation shader]\n")
+        elif stage == "compute":
+            out.write("[compute shader]\n")
         else:
             assert False, stage
         out.write(shaders[(stage, num)])
-- 
2.7.4



More information about the mesa-dev mailing list