diff options
author | Kefeng Yang <kefeng.yang@amd.com> | 2016-08-17 15:32:19 +0800 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2016-09-02 11:20:52 +0200 |
commit | 85360e3564a12a367e115f167aec7284d69047b6 (patch) | |
tree | 0079da953f5d3e251ee7d5a0d7fe9fc9dd722e1d /tests/general/primitive-restart.c | |
parent | 4075a79b7201437f4788abc917ef928debc500a9 (diff) |
primitive-restart: Remove glDrawArray and glArrayElement tests
With OpenGL 4.5, the spec was changed to remove primitive restart from
glDrawArrays and friends.
v2: remove all tests retroactively for all versions (Mathias)
Reviewed-by: Brian Paul <brianp@vmware.com> (v1)
Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'tests/general/primitive-restart.c')
-rw-r--r-- | tests/general/primitive-restart.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/general/primitive-restart.c b/tests/general/primitive-restart.c index 5cd8be3d2..83f494dd1 100644 --- a/tests/general/primitive-restart.c +++ b/tests/general/primitive-restart.c @@ -653,13 +653,6 @@ primitive_restart_test(VBO_CFG vbo_cfg) pass = pass && test_draw_elements(vbo_cfg, GL_LINE_STRIP, GL_UNSIGNED_BYTE); pass = pass && test_draw_elements(vbo_cfg, GL_LINE_STRIP, GL_UNSIGNED_SHORT); pass = pass && test_draw_elements(vbo_cfg, GL_LINE_STRIP, GL_UNSIGNED_INT); - pass = pass && test_array_element(vbo_cfg, GL_TRIANGLE_STRIP, GL_UNSIGNED_BYTE); - pass = pass && test_array_element(vbo_cfg, GL_TRIANGLE_STRIP, GL_UNSIGNED_SHORT); - pass = pass && test_array_element(vbo_cfg, GL_TRIANGLE_STRIP, GL_UNSIGNED_INT); - pass = pass && test_array_element(vbo_cfg, GL_LINE_STRIP, GL_UNSIGNED_BYTE); - pass = pass && test_array_element(vbo_cfg, GL_LINE_STRIP, GL_UNSIGNED_SHORT); - pass = pass && test_array_element(vbo_cfg, GL_LINE_STRIP, GL_UNSIGNED_INT); - pass = pass && test_draw_arrays(vbo_cfg); } return pass; |