summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-04-15Add a set of GLSL tests for optimizations I plan to do in glsl2.shader_runnerEric Anholt24-0/+582
2010-04-15Fix warning in compile_shader().Eric Anholt1-1/+1
2010-04-12shaders: Add generic test that replicates glsl-vs-ifIan Romanick1-0/+28
2010-04-12shaders: Add generic test that replicates glsl-fs-log2Ian Romanick1-0/+26
2010-04-12shaders: Add framework for generic shader testsIan Romanick2-0/+507
This is still very much a work in progress
2010-04-12util: Add function require an extension NOT be availableIan Romanick2-0/+9
2010-04-12util: Add new function to compile shadersIan Romanick2-9/+34
This one takes a pointer and a size. This enables compiling shaders that are embedded in files with other data.
2010-03-23glsl-orangebook-ch06-bump: New testcase for the Orange Book bumpmapping shader.Eric Anholt5-0/+201
This regressed on i965 at some point, so I wanted to test it.
2010-03-22fp-cmp: Simple vpfp test for CMP opcode.Eric Anholt2-0/+12
2010-03-22rg-draw-pixels.c: Fix up the file permissions.Eric Anholt1-0/+0
2010-03-22glsl-vs-functions: New test for Mesa function calls in the VS.Eric Anholt4-0/+116
2010-03-22glsl-fs-mix-constant: New test for a regression I introduced OPCODE_LRP.Eric Anholt4-0/+88
2010-03-22glsl-fs-mix: Simple test for mix() behavior in the FS.Eric Anholt4-0/+98
2010-03-18Change expected result of TextureRectangleSamplers.frag from 'fail' to 'pass'Ian Romanick1-1/+1
Ah my friend texture rectangles. The spec for GL_ARB_texture_rectangle is a little bit broken because it was developed before the #extension mechanism existed. Because of this, shaders do not need to have the '#extension GL_ARB_texture_rectangle: enable' directive. Issue #15 in the spec says: 15) How does this extension interact with GLSL based on the "OpenGL Shading Language Extension Conventions"? Unfortunately, this extension was specified and implemented contemporaneously with the GLSL Extension Conventions and because of this timing does not follow its guidance for #extension and adornment of new GLSL names. Because this extension has both an API interaction (adding a new rectangle texture target) and a GLSL interaction (functions and sampler types for accessing texture rectangles), you can't practically use the GLSL texture rectangle functionality without the API functionality. For this reason, detecting the GL_ARB_texture_rectangle string is sufficient for assuming the GLSL functionality is present. Conceptually, you can consider the declaration #extension GL_ARB_texture_rectangle : require, to allow support for texture rectangles, to be implicitly prepended to every GLSL shader when ARB_texture_rectangle is advertised. All future GLSL extensions should follow the "OpenGL Shading Language Extension Conventions" however.
2010-03-17depth-level-clamp: Test for a miptree relayout failure in the 965 driver.Eric Anholt3-0/+166
This test may be obsoleted later if we stop relayouting due to baselevel, but for now this shows off a failure in the relayout code when doing a fallback blit.
2010-03-16scissor-depth-clear: Fix doxygen for what this test is about.Eric Anholt1-1/+1
2010-03-16fbo-pbo-readpixels-small: remove dead defines.Eric Anholt1-2/+2
2010-03-14glsl-fs-bug25902: Fix GLSL compilation errors on Mac OS X.Vinson Lee2-2/+2
2010-03-14glsl-fs-sqrt-branch: Fix GLSL compilation error on Mac OS X.Vinson Lee1-1/+1
2010-03-14Add fbo-copypix and fbo-readdrawpix to all.tests.Vinson Lee1-0/+2
2010-03-13add fbo-copypix and fbo-readdrawpix to CMakeLists.txtBrian Paul1-0/+2
2010-03-13fbo-readdrawpix: a varient of fbo-blit.cBrian Paul1-0/+229
2010-03-13fbo-copypixels: a varient of fbo-blit.cBrian Paul1-0/+225
2010-03-13fbo-blit: remove glCopy/Read/DrawPixels codeBrian Paul1-71/+10
2010-03-10piglit: be smarter about finding/removing -auto from argvBrian Paul1-8/+14
This lets us pass additional args into piglit tests without having to worry about their order.
2010-03-10piglit: ignore gallium debug messagesBrian Paul1-0/+1
2010-03-10fbo-no(depth/stencil)test: use POT texturesMaciej Cencora2-4/+4
2010-03-10fbo-blit: s/glBindFramebuffer/glBindFramebufferEXT/Maciej Cencora1-6/+6
It doesn't segfault now on r300.
2010-03-10glsl-fs-sqrt-branch: Add a new test for a 965 driver bug in Yo Frankie!Eric Anholt4-0/+98
2010-03-10glsl-fs-bug25902: Add a new test for fd.o bug #25902 (965 driver hang).Eric Anholt5-0/+151
2010-03-10fbo-blit: remove check for GL_ARB_texture_non_power_of_twoBrian Paul1-1/+0
2010-03-10fbo-blit: enable the new tests, plus asst fixupsBrian Paul1-6/+4
Use a larger window so to avoid symetry in the Y positioning of the test quads. This helps to expose Y axis inversion bugs.
2010-03-10fbo-blit: also test glCopyPixels and glRead/DrawPixels()Brian Paul1-18/+95
But these new tests are temporarily disabled until some bugs in Mesa are fixed (so the test acts exactly as it did before).
2010-03-10fbo-blit: use POT texture sizeBrian Paul1-11/+15
Before we were using a 60x70 texture and not checking for GL_ARB_texture_non_power_of_two.
2010-03-10fbo-blit: asst. clean-upsBrian Paul1-21/+26
2010-03-09glsl-fs-loop-nested: New test for nested loops in the fragment shader.Eric Anholt4-0/+142
While it was designed to catch failure on i965, it also catches failure with Mesa software.
2010-03-09glsl-fs-loop: New test for loops in the fragment shader.Eric Anholt4-0/+136
Shows off failure in the 965 driver in unaliasing registers for GLSL.
2010-03-09glsl-vs-loop-nested: Test for a failure in the i965 VS with nested loop.Eric Anholt4-0/+140
2010-03-09fbo-generatemipmap: Only complain once per mipmap level.Eric Anholt1-3/+3
2010-03-06fbo-blit: this currently requires texture npot.Dave Airlie1-0/+1
Probably should fix this to either use pot or rects. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-05fbo-blit: s/glBindFramebuffer/glBindFramebufferEXT/Vinson Lee1-9/+9
Fixes build on Ubuntu 9.04.
2010-03-05object_purgeable: Document test cases with verbage from the spec.Ian Romanick1-0/+46
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Check the operations on object 0 generate errorsIan Romanick1-0/+38
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Check that setting redundant state generates an errorIan Romanick1-0/+17
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Move state checks into state setting testsIan Romanick1-24/+12
Always check that an object is purgeable (or unpurgeable) in the routine that is used to set that state. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Fix errors in previous commitsIan Romanick1-2/+2
The only thing worse than cut-and-paste errors is error introduced by dumb emacs keyboard macros. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Misc. whitespace and trivial code clean-ups.Ian Romanick1-48/+50
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Clean-up error messages and loggingIan Romanick1-28/+38
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Refactor main test body into text_PurgeableIan Romanick5-168/+87
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-05object_purgeable: Use piglit test frameworkIan Romanick3-167/+43
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>