summaryrefslogtreecommitdiff
path: root/tests/spec/arb_vertex_array_bgra
AgeCommit message (Collapse)AuthorFilesLines
2017-08-21arb_vertex_array_bgra: set KHR_no_error statusSamuel Pitoiset2-0/+2
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
2015-09-29Remove unnecessary linking with libGLUIan Romanick1-1/+0
This patch was created by: sed -i -e '/[{]OPENGL_glu_LIBRARY[}]/d' $(grep -lr OPENGL_glu_LIBRARY) git checkout tests/glean/CMakeLists.gl.txt git checkout tests/spec/gl-1.4/CMakeLists.gl.txt git checkout tests/fbo/CMakeLists.gl.txt So, there are three places out of all of piglit that actually need this library. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Thanked-by: Kristian Høgsberg <krh@bitplanet.net>
2014-07-15util/gl: Rename piglit-util-gl-common.hChad Versace2-2/+2
There are no longer any source files in tests/util that are specific to a particular OpenGL API. In other words, all OpenGL utility sources in tests/util are now "common" and shared by all OpenGL APIs. So remove the 'common' in filename 'piglit-util-gl-common.h'. Signed-off-by: Chad Versace <chad.versace@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
2014-06-02arb_vertex_array_bgra: Add tests for glGet*(GL_*_ARRAY_SIZE) == GL_BGRA.José Fonseca2-0/+82
Mesa didn't get this quite right, causing problems to ApiTrace -- https://github.com/apitrace/apitrace/issues/261 . Reviewed-by: Brian Paul <brianp@vmware.com>
2014-02-17arb_vertex_array_bgra: Remove vertex-array-bgra.cIan Romanick2-102/+0
It was redundant with arb_vertex_array_bgra-api-errors, and it had some bugs that were already fixed in arb_vertex_array_bgra-api-errors. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2014-02-17arb_vertex_array_bgra: Test all the invalid typesIan Romanick1-9/+20
Inspired by by code in vertex-array-bgra.c. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2014-02-17arb_vertex_array_bgra: Test that the valid usage is acceptedIan Romanick1-0/+7
This is mostly copied from vertex-array-bgra.c. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-11-04Change INVALID_VALUE to INVALID_OPERATION in ARB_vertex_array_bgra test.Kenneth Graunke1-12/+6
In the OpenGL 3.3 specification, this changed from INVALID_VALUE to INVALID_OPERATION. According to Ian Romanick, the GL specification provides the guidance that INVALID_VALUE should be generated for "Numeric argument out of range". Since FALSE is in range for a boolean, INVALID_VALUE is not appropriate, and the change to INVALID_OPERATION was meant as a correction. See: http://lists.freedesktop.org/archives/mesa-dev/2013-July/042509.html Most implementations support 3.3, so they likely follow the new code. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Ian Romanick <idr@freedesktop.org> Cc: Fredrik Höglund <fredrik@kde.org> Cc: Corey Richardson <corey@octayn.net>
2013-07-29GL-3.2 ARB_vertex_array_bgra: Test for INVALID_VALUEJacob Penner2-0/+102
Reviewed-by: Matt Turner <mattst88@gmail.com>
2013-07-22Add a test for API errors when GL_BGRA vertex arrays.Kenneth Graunke3-0/+100
I chose to write this against the ARB version of the spec, but it could have just as well been written against the EXT version. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>