summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-02readpixperf: fix bogus res.readBuf valuesBrian Paul1-2/+5
Need to write the buffer info to the results file. Otherwise, the value was undefined/random when we read results from a file for comparison.
2009-12-02blendfunc: fix bad calls to nameToFactor()Brian Paul1-2/+10
This fixes some false failures reported by the compareOne() function. Also, add some assertions to catch this kind of bug in the future. Finally, added some minor comments.
2009-12-02texcombine: fix src/dst typo in getresults()Brian Paul1-1/+1
2009-12-02pointsprite: fix signed/unsigned comparison warningBrian Paul1-1/+1
2009-12-02pointsprite: Only test GL_POINT_SPRITE_COORD_ORIGIN if OpenGL 2.0 is supportedIan Romanick2-19/+30
GL_POINT_SPRITE_COORD_ORIGIN is not part of GL_ARB_point_sprite. It was added when the functionality was merged into core OpenGL 2.0. Therefore, if OpenGL 2.0 is not supported, don't test any state related to GL_POINT_SPRITE_COORD_ORIGIN. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-02pointsprite: Test GL_UPPER_LEFT firstIan Romanick2-10/+18
Test the coordinate origin GL_UPPER_LEFT first. Also, log the correct origin string when a test fails. Previously the log message was inverted, and this was very misleading when debugging test failures. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-02pointsprite: Fix grammar / spelling errors in log messages and commentsIan Romanick1-5/+8
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-12-02pointsprite: Use non-ARB names everywhereIan Romanick1-7/+7
Previously the code used a mixture of, for example, GL_POINT_SPRITE_ARB and GL_POINT_SPRITE. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-08occluqry: Fix memory leak when malloc fails.Vinson Lee1-0/+4
2009-10-01glsl1: Add log2 precision test.Vinson Lee1-0/+17
2009-09-30glsl1: Add exp2 precision test.Vinson Lee1-0/+18
2009-09-29glsl1: sqrt(vec2) testBrian Paul1-0/+16
2009-09-29glsl1: added sqrt(vec4) testBrian Paul1-0/+17
2009-09-24glsl1: added deeply if-nested return testBrian Paul1-0/+21
2009-09-21docs: document --quick and other updatesBrian Paul1-0/+19
2009-09-21glean: when --quick is specified but not --visuals, only test one visualBrian Paul3-5/+14
2009-09-21options: added maxVisuals fieldBrian Paul2-0/+3
2009-09-21dsfilt: add filter() method with maxConfigs paramBrian Paul2-2/+18
2009-09-02pbo: assorted clean-upsBrian Paul1-31/+22
2009-09-02pbo: add missing texture disable and glColor callsBrian Paul1-0/+2
We were getting lucky before. When debugging, disabling some of the sub-tests caused later tests to fail because of mis-set state.
2009-09-02fragProg1: add tests for ADD/SUB with saturationBrian Paul1-0/+31
2009-08-20glsl1: add in-place swizzle testBrian Paul1-0/+15
This is intended to catch failed dependency checking in SOA implementations.
2009-08-20depthStencil: added cast in pixels/second computation to avoid int overflowBrian Paul1-1/+2
This fixes the negative rates that were sometimes reported.
2009-08-06glsl1: s/half/Half/Brian Paul1-8/+8
'half' is a reserved word, don't use it for a function name.
2009-07-29glsl1: add additional GLSL 1.20 array declaration and constructor testsBrian Paul1-0/+80
Mesa doesn't handle these properly yet so they're currently disabled.
2009-07-13fbo: s/GL_LINE/GL_LINES/Vinson Lee1-3/+3
Fix typo of GL_LINES.
2009-07-12tvertprog1: Use gl[En|Dis]ableClientState for GL_VERTEX_ARRAY.Vinson Lee1-2/+2
GL_VERTEX_ARRAY is a client-side capability.
2009-07-11clipFlat: Use gl[En|Dis]ableClientState for vertex arrays.Vinson Lee1-4/+4
GL_VERTEX_ARRAY and GL_COLOR_ARRAY are client-side capabilities.
2009-07-11api2: Use gl[En|Dis]ableClientState for GL_VERTEX_ARRAY.Vinson Lee1-2/+2
GL_VERTEX_ARRAY is a client-side capability.
2009-07-10texcombine: remove check for GL_ARB_texture_env_dot3, update crossbar ↵Brian Paul1-3/+2
extension check GL_ARB_texture_env_dot3 is slightly different than GL_EXT_texture_env_dot3 (different enum values, for one thing) so the extensions aren't equivalent. If a GL implementation supports the ARB version but not the EXT version we'll generate GL errors. Also, when checking for GL_ARB_texture_env_crossbar, also check for GL_ARB_texture_env_combine, just to be safe. This test should be freshened up a bit to work with the ARB versions of the EXT extensions. For example, GL_ARB_texture_env_combine has a GL_SUBTRACT mode that's not in GL_EXT_texture_env_combine.
2009-07-06tvertprog1: Clear err for testBadProgram glDrawArrays case.Vinson Lee1-1/+1
2009-06-26glsl1: re-enable the "for-loop with continue" and "early return" testsBrian Paul1-4/+2
The infinite for-loop bug in Mesa is fixed now.
2009-06-26glsl1: Add test case of discard in for loop.Vinson Lee1-0/+17
This test case crashes Mac OS with NVIDIA G8x/G9x video cards. Test case is from Alex Corscadden.
2009-06-26glsl1: Add Mac OS TIntermediate::addUnaryMath crash test case.Vinson Lee1-0/+11
This test case causes the Mac OS GLSL compiler to crash in the function TIntermediate::addUnaryMath instead of generating a compile error. Test case is from Micah Dowty.
2009-06-25glsl1: temporary disable the 'for-loop with continue' testBrian Paul1-0/+2
This exposes a long-standing bug in Mesa's GLSL compiler. Let's wait for the Mesa fix (on the glsl-continue-return branch) to propogate out before turning on this test case.
2009-06-25glsl1: added two more early-return tests (disabled for the time being)Brian Paul1-1/+39
2009-06-24Merge branch 'master' of ssh://vinsonlee@glean.git.sourceforge.net/gitroot/gleanVinson Lee1-2/+17
2009-06-24SConscript: Add flat Carbon headers to include path of Mac OS build.Vinson Lee1-0/+1
Fixes tiff build on Mac OS.
2009-06-24Ensure GL command queues are emptyAllen Akin1-2/+17
If the implementation doesn't mark the GL command queue as empty after a glReadPixels command, this prevents GLXBadCurrentWindow errors from occurring on glXMakeCurrent commands issued after the window is destroyed.
2009-06-24Support building on MacOS with scons.José Fonseca1-2/+15
Basically Vinson Lee's patch.
2009-06-24Fix the included tiff library autodetection for non-windows platforms.José Fonseca7-636/+100
2009-06-24Move forward references inside GLEAN namespace.José Fonseca4-10/+9
Silents gcc warnings.
2009-06-23ttexgen.cpp: Move function calls with side effects outside assert.Vinson Lee1-2/+5
2009-06-23geomrend.cpp: Fix typo from previous commit.Vinson Lee1-1/+1
2009-06-23geomrend.cpp: Move renderPrimitives call outside of assert.Vinson Lee1-1/+4
The function renderPrimitives has side effects.
2009-06-23glsl1: added tests of for/while loops with continue statementsBrian Paul1-0/+37
2009-06-19glwrap.h: Add PFNGL typedefs used in ttexunits.cpp.Vinson Lee1-0/+3
Fixes ttexunits.cpp Mac OS build.
2009-06-19MSVC fixes for ttexunits.cpp.Vinson Lee3-15/+20
Use function pointers for OpenGL functions that weren't linking with MSVC.
2009-06-18MSVC fixes for ttexswizzle.cpp.Vinson Lee3-4/+15
Use function pointers for OpenGL functions that weren't linking with MSVC.
2009-06-18MSVC fixes for tpointsprite.cpp.Vinson Lee3-3/+9
Use function pointers for OpenGL functions that weren't linking with MSVC.