[Piglit] [PATCH 2/8] arb_tessellation_shader: Add GLSL minimum-maximums test

Jordan Justen jordan.l.justen at intel.com
Mon Jun 2 15:44:03 PDT 2014


Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
 tests/all.py                                            |  4 ++++
 tests/spec/arb_tessellation_shader/minimum-maximums.txt | 16 ++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 tests/spec/arb_tessellation_shader/minimum-maximums.txt

diff --git a/tests/all.py b/tests/all.py
index 30e461e..3d76da1 100644
--- a/tests/all.py
+++ b/tests/all.py
@@ -3177,6 +3177,10 @@ import_glsl_parser_tests(spec['ARB_compute_shader'],
                          ['compiler'])
 spec['ARB_compute_shader']['built-in constants'] = concurrent_test('built-in-constants tests/spec/arb_compute_shader/minimum-maximums.txt')
 
+arb_tessellation_shader = {}
+spec['ARB_tessellation_shader'] = arb_tessellation_shader
+spec['ARB_tessellation_shader']['built-in constants'] = concurrent_test('built-in-constants tests/spec/arb_tessellation_shader/minimum-maximums.txt')
+
 # group glslparsertest ------------------------------------------------------
 glslparsertest = {}
 # Add all shader source files in the directories below.
diff --git a/tests/spec/arb_tessellation_shader/minimum-maximums.txt b/tests/spec/arb_tessellation_shader/minimum-maximums.txt
new file mode 100644
index 0000000..6e92a4d
--- /dev/null
+++ b/tests/spec/arb_tessellation_shader/minimum-maximums.txt
@@ -0,0 +1,16 @@
+3.30
+GL_TESS_CONTROL_SHADER
+GL_ARB_tessellation_shader
+gl_MaxTessControlInputComponents 128
+gl_MaxTessControlOutputComponents 128
+gl_MaxTessControlTextureImageUnits 16
+gl_MaxTessControlUniformComponents 1024
+gl_MaxTessControlTotalOutputComponents 4096
+gl_MaxTessEvaluationInputComponents 128
+gl_MaxTessEvaluationOutputComponents 128
+gl_MaxTessEvaluationTextureImageUnits 16
+gl_MaxTessEvaluationUniformComponents 1024
+gl_MaxTessPatchComponents 120
+gl_MaxPatchVertices 32
+gl_MaxTessGenLevel 64
+gl_MaxCombinedTextureImageUnits 80
-- 
2.0.0.rc4



More information about the Piglit mailing list