From: Ian Romanick <[email protected]>

minimum-maximums.txt was created by copy-and-pasting directly from
section 7.3 followed by 's/ = / /;s/;//'.  This is why the names are not
listed in alphabetic order.

(In the OpenGL ES 3.00 spec, the built-in constants are in section 7.3
instead of section 7.4.)

Signed-off-by: Ian Romanick <[email protected]>
---
 tests/all.tests                              |  1 +
 tests/spec/glsl-es-3.00/minimum-maximums.txt | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 tests/spec/glsl-es-3.00/minimum-maximums.txt

diff --git a/tests/all.tests b/tests/all.tests
index 52423d4..e1936dd 100644
--- a/tests/all.tests
+++ b/tests/all.tests
@@ -956,6 +956,7 @@ add_shader_test_dir(spec['glsl-es-3.00'],
                    os.path.join(testsDir, 'spec', 'glsl-es-3.00'),
                    recursive=True)
 add_concurrent_test(spec['glsl-es-3.00']['execution'], 
'varying-struct-centroid_gles3')
+spec['glsl-es-3.00']['built-in constants'] = 
concurrent_test('built-in-constants_gles3 
tests/spec/glsl-es-3.00/minimum-maximums.txt')
 
 # AMD_performance_monitor
 profile.test_list['spec/AMD_performance_monitor/api'] = 
PlainExecTest('amd_performance_monitor_api -auto')
diff --git a/tests/spec/glsl-es-3.00/minimum-maximums.txt 
b/tests/spec/glsl-es-3.00/minimum-maximums.txt
new file mode 100644
index 0000000..da97b27
--- /dev/null
+++ b/tests/spec/glsl-es-3.00/minimum-maximums.txt
@@ -0,0 +1,12 @@
+3.00
+gl_MaxVertexAttribs 16
+gl_MaxVertexUniformVectors 256
+gl_MaxVertexOutputVectors 16
+gl_MaxFragmentInputVectors 15
+gl_MaxVertexTextureImageUnits 16
+gl_MaxCombinedTextureImageUnits 32
+gl_MaxTextureImageUnits 16
+gl_MaxFragmentUniformVectors 224
+gl_MaxDrawBuffers 4
+gl_MinProgramTexelOffset -8
+gl_MaxProgramTexelOffset 7
-- 
1.8.1.4

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to