[Piglit] [PATCH 2/8] gen_builtin_uniform_tests.py: Declare how big of a window we actually need.
Eric Anholt
eric at anholt.net
Fri Aug 29 14:41:13 PDT 2014
compare-perf of fs-op-mult-vec4-vec4.shader_test for VC4 simulation
shows -95.8062% +/- 1.57425% effect on runtime (n=5). No difference
proven on i965 with piglit-run.py -t
glsl-1.10/execution/built-in-functions/fs-op (n=14).
---
generated_tests/gen_builtin_uniform_tests.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/generated_tests/gen_builtin_uniform_tests.py b/generated_tests/gen_builtin_uniform_tests.py
index 7edd5cc..5f87fbe 100644
--- a/generated_tests/gen_builtin_uniform_tests.py
+++ b/generated_tests/gen_builtin_uniform_tests.py
@@ -484,6 +484,8 @@ class ShaderTest(object):
shader_test = '[require]\n'
shader_test += 'GLSL >= {0:1.2f}\n'.format(
float(self.glsl_version()) / 100)
+ shader_test += 'SIZE {0} 1'.format(
+ min(len(self._test_vectors), 250))
shader_test += self.make_additional_requirements()
shader_test += '\n'
shader_test += '[vertex shader]\n'
--
2.1.0
More information about the Piglit
mailing list