diff options
author | Andres Gomez <agomez@igalia.com> | 2016-06-15 00:37:01 +0300 |
---|---|---|
committer | Andres Gomez <agomez@igalia.com> | 2016-07-02 02:23:16 +0300 |
commit | 3dfda225a1b632237155d0d245e903a6e6eb67e3 (patch) | |
tree | 684cd27fb38ce6991dc681482c8884c558a8ff7a /generated_tests | |
parent | 99c9f47189f5288fe83694b5749d863332f89541 (diff) |
generators/gen_vs_in_fp64: Adds u/byte and u/short tests
Added more test cases combinations by including u/byte and u/short GL
types in the VBO so the stride is smaller than a word.
Signed-off-by: Andres Gomez <agomez@igalia.com>
Acked-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'generated_tests')
-rw-r--r-- | generated_tests/gen_vs_in_fp64.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/generated_tests/gen_vs_in_fp64.py b/generated_tests/gen_vs_in_fp64.py index 9ed22dc5d..3804e06bf 100644 --- a/generated_tests/gen_vs_in_fp64.py +++ b/generated_tests/gen_vs_in_fp64.py @@ -323,6 +323,37 @@ class RegularTestTuple(TestTuple): for test_args in RegularTestTuple.create_tests( ['GL_ARB_vertex_attrib_64bit', '410'], RegularTestTuple.create_in_types_array( + itertools.chain(GLSL_USCALAR_TYPES, GLSL_UVEC_TYPES), + itertools.chain(GLSL_ISCALAR_TYPES, GLSL_IVEC_TYPES), + itertools.chain(GLSL_DSCALAR_TYPES, GLSL_DVEC_TYPES, GLSL_DMAT_TYPES)), + ['ubyte', 'short', 'double'], + [1, 2, 3, 4], + [[1, 1, 1]], + names_only): + yield RegularTestTuple(*test_args) + for test_args in RegularTestTuple.create_tests( + ['GL_ARB_vertex_attrib_64bit', '410'], + RegularTestTuple.create_in_types_array( + itertools.chain(GLSL_ISCALAR_TYPES, GLSL_IVEC_TYPES), + itertools.chain(GLSL_DSCALAR_TYPES, GLSL_DVEC_TYPES, GLSL_DMAT_TYPES)), + ['byte', 'double'], + [1, 2, 3], + [[1, 1]], + names_only): + yield RegularTestTuple(*test_args) + for test_args in RegularTestTuple.create_tests( + ['GL_ARB_vertex_attrib_64bit', '410'], + RegularTestTuple.create_in_types_array( + itertools.chain(GLSL_USCALAR_TYPES, GLSL_UVEC_TYPES), + itertools.chain(GLSL_DSCALAR_TYPES, GLSL_DVEC_TYPES, GLSL_DMAT_TYPES)), + ['ushort', 'double'], + [1, 2, 3], + [[1, 1]], + names_only): + yield RegularTestTuple(*test_args) + for test_args in RegularTestTuple.create_tests( + ['GL_ARB_vertex_attrib_64bit', '410'], + RegularTestTuple.create_in_types_array( itertools.chain(GLSL_DSCALAR_TYPES, GLSL_DVEC_TYPES, GLSL_DMAT_TYPES), itertools.chain(GLSL_FSCALAR_TYPES, GLSL_FVEC_TYPES, GLSL_FMAT_TYPES)), ['double', 'float'], |