summaryrefslogtreecommitdiff
path: root/tests/shaders/glsl-getactiveuniform-count.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-09util,tests: Replace GLUT visual enums with PIGLTI_GL_VISUAL enums (v2)Chad Versace1-1/+1
I'm trying to transition Piglit from using GLUT to using Waffle. That requires either killing or wrapping all GLUT code. Define enum piglit_gl_visual in piglit-framework.h, of which each value matches its corresponding GLUT visual enum. Do the following substitution in all util and test sources: GLUT_RGB -> PIGLIT_GL_VISUAL_RGB GLUT_RGBA -> PIGLIT_GL_VISUAL_RGBA GLUT_DOUBLE -> PIGLIT_GL_VISUAL_DOUBLE GLUT_ACCUM -> PIGLIT_GL_VISUAL_ACCUM GLUT_ALPHA -> PIGLIT_GL_VISUAL_ALPHA GLUT_DEPTH -> PIGLIT_GL_VISUAL_DEPTH GLUT_STENCIL -> PIGLIT_GL_VISUAL_STENCIL v2: Remove GLUT_INDEX, for Ken. Reviewed-and-tested-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Tested-by: Paul Berry <stereotype441@gmail.com> Acked-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2012-06-28util: Move piglit-util to piglit-util-gl-commonBlaž Tomažič1-1/+1
Move piglit-util.* to piglit-util-gl-common.* Signed-off-by: Blaž Tomažič <blaz.tomazic@gmail.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
2012-06-20tests: Let each test define main()Chad Versace1-2/+4
Each test that did not define main() now does so using PIGLIT_GL_TEST_MAIN(). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
2011-04-29Rename PIGLIT_SUCCESS and PIGLIT_FAILURE to PIGLIT_PASS and PIGLIT_FAIL, resp.Marek Olšák1-4/+4
2010-12-15Make glsl-getactiveuniform-count more genericIan Romanick1-4/+12
Allow the shader and the expected number of uniforms to be specified on the command line.
2010-12-15Trivial port of glsl-getactiveuniform-count to new piglit GLSL interfacesIan Romanick1-6/+2
2010-08-24glsl-getactiveuniform-count: Correct the error message from copy'n'paste.Eric Anholt1-1/+1
2010-08-23glsl-getactiveuniform-*: New tests for glGetActiveUniform() behavior.Eric Anholt1-0/+77