[Mesa-dev] [PATCH shader-db 4/4] run.py: Add tessellation shader support.

Kenneth Graunke kenneth at whitecape.org
Tue Jan 5 03:04:45 PST 2016


---
 run.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

in case you want to use the old runner to produce .out files.

diff --git a/run.py b/run.py
index 58bdbbf..ced8710 100755
--- a/run.py
+++ b/run.py
@@ -48,7 +48,7 @@ def run_test(filename):
 
     lines = (line for line in results.splitlines())
     re_number = re.compile(
-        r'Native code for (unnamed )?(fragment|vertex|geometry) shader (GLSL|ARB)(?P<number>\d+)')
+        r'Native code for (unnamed )?(fragment|vertex|geometry|tessellation control|tessellation evaluation) shader (GLSL|ARB)(?P<number>\d+)')
     for line in lines:
         shader = re_number.match(line)
         if shader and int(shader.group('number')) > 0:
@@ -89,9 +89,9 @@ def main():
     os.environ["PIGLIT_PLATFORM"] = "gbm"
     if "INTEL_DEBUG" in os.environ:
         print("Warning: INTEL_DEBUG environment variable set!", file=sys.stderr)
-        os.environ["INTEL_DEBUG"] += ",vs,gs,fs"
+        os.environ["INTEL_DEBUG"] += ",vs,gs,fs,tcs,tes"
     else:
-        os.environ["INTEL_DEBUG"] = "vs,gs,fs"
+        os.environ["INTEL_DEBUG"] = "vs,gs,fs,tcs,tes"
 
     try:
         os.stat("bin/shader_runner")
-- 
2.6.4



More information about the mesa-dev mailing list