summaryrefslogtreecommitdiffstats
path: root/progs
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: handle some src/dst aliasing in tgsi_sse2.cKeith Whitwell2009-09-132-0/+12
| | | | | | | | | | | | Src/Dst aliasing (aka SOA dependencies) requires some care to ensure intermediate results do not overwrite yet-to-be read source registers. This change ensures that MOV/SWZ handle this correctly, which is poor but no worse than the current tgsi_exec.c path. Remove the fallback as there is nothing to be gained correctness-wise between the two implementations now. Fixing this properly looks like a bit of work in this code, but might be easily achieved by sending destination writes to temporary storage.
* tgsi: implement saturationKeith Whitwell2009-09-121-0/+6
| | | | Fix recent performance regression.
* progs/tests: added Z invert optionBrian Paul2009-09-081-0/+12
|
* progs/demos: added RGB invert optionBrian Paul2009-09-081-0/+22
|
* progs/tests: re-enable exit() callBrian Paul2009-09-031-1/+1
| | | | See bug 21267.
* tests/texcmp: glewInit in wrong placeDave Airlie2009-09-031-1/+1
|
* progs/samples: added test/debug code for cullingBrian Paul2009-08-311-0/+6
|
* progs/tests: disable depth test for second glDrawPixelsBrian Paul2009-08-311-1/+5
| | | | | We don't want to z-test that glDrawPixels. Also, set the raster color to red when drawing GL_DEPTH_COMPONENT image to aid in debugging.
* progs/util: minor updates to glutskel.cBrian Paul2009-08-301-31/+33
|
* progs: EGL/X progs should link to libX11.Chia-I Wu2009-08-273-74/+29
| | | | | | | | Since 5a459d58fca2b71cb77c39f98df8a81ce6298421, libEGL no longer links to libX11. Add the dependency to affected progs and cleanup prog/egl/Makefile. Signed-off-by: Chia-I Wu <[email protected]>
* mesa: gitignoreYounes Manton2009-08-262-0/+2
|
* progs/glsl: asst. changes in shtest.cBrian Paul2009-08-261-3/+16
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-08-262-4/+16
|\
| * progs/glsl: add special Makefile rule for samplers_arrayBrian Paul2009-08-261-1/+3
| |
| * progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul2009-08-261-4/+12
| | | | | | | | | | Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
* | progs/glsl: handle window resizes in texaaline.cBrian Paul2009-08-261-8/+12
| |
* | progs/glsl: call ValidateShaderProgram()Brian Paul2009-08-251-0/+2
| |
* | progs/util: added ValidateShaderProgram() to shaderutil.cBrian Paul2009-08-252-0/+23
| |
* | progs/glsl: report compile/link times in shtest.cBrian Paul2009-08-201-0/+10
| |
* | progs/util: added GetShaderCompile/LinkTime() to get compilation/link timesBrian Paul2009-08-202-0/+39
| |
* | progs/glsl: update multitex.shtest for new texture syntaxBrian Paul2009-08-201-2/+2
| |
* | progs/glsl: update shtest.c to handle 1D/3D/CUBE/RECT texturesBrian Paul2009-08-201-16/+70
| |
* | progs/glsl: tweaks to shtest.cBrian Paul2009-08-201-2/+3
| | | | | | | | | | | | 1. Larger sphere to match cube size 2. Allow -geometry option to override window size 3. Cube samplers
* | progs/glsl: more comments in shtest.cBrian Paul2009-08-201-0/+2
| |
* | progs/xdemos: add multictx to .gitignoreBrian Paul2009-08-191-0/+1
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-181-4/+24
|\|
| * progs/demos: print more info in fbotexture.cBrian Paul2009-08-141-4/+24
| |
* | egl: Make lookup functions static inline.Chia-I Wu2009-08-181-1/+1
| | | | | | | | | | | | progs/egl/demo3.c is also changed since it uses an internal function. Signed-off-by: Chia-I Wu <[email protected]>
* | demos/glsl: remove glutInitWindowPosition() callsBrian Paul2009-08-1718-18/+0
| |
* | mesa: Add 2 new demos to .gitignore.Pauli Nieminen2009-08-151-0/+1
| |
* | demos/cubemap: Add support for GL_ARB_seamless_cube_mapIan Romanick2009-08-141-16/+38
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-08-141-0/+18
|\|
| * progs/tests: hack a PBO/dlist testBrian Paul2009-08-131-0/+18
| |
* | glsl: re-write Makefile after I called it bad.Dave Airlie2009-08-141-157/+9
| |
* | progs/glsl: added multitex.shtest config fileBrian Paul2009-08-131-0/+6
| |
* | progs/glsl: set generic vertex attribute valuesBrian Paul2009-08-131-2/+15
| |
* | progs/glsl: add type field to shtest config filesBrian Paul2009-08-134-54/+108
| | | | | | | | Plus, texture loading.
* | glsl/tests: skinning.oDave Airlie2009-08-141-2/+2
| | | | | | | | | | worst Makefile ever. not sure what is going on here, hopefully this fixes tinderbox
* | progs/util: ignore pre-defined uniforms in SetUniformValues()Brian Paul2009-08-131-1/+8
| |
* | progs/glsl: new shtest program, a simple shader test harness appBrian Paul2009-08-135-2/+609
| | | | | | | | This commit includes some sample config files (*.shtest)
* | progs/glsl: change uniform_info::type field to use GLSL vector typesBrian Paul2009-08-1211-130/+53
| |
* | demos: call SetUniformValues()Brian Paul2009-08-121-1/+1
| |
* | demos: rename InitUniforms() to SetUniformValues()Brian Paul2009-08-129-9/+16
| | | | | | | | And call new PrintUniforms() in demos.
* | progs/util: added more shader utility functionsBrian Paul2009-08-122-19/+200
| |
* | demos: Fix the VBO usage in glsl/multitex.Eric Anholt2009-08-101-3/+3
| | | | | | | | | | | | | | The fix for 965 to be noisy when apps sent pointers instead of VBO offsets caught this app in the act of doing exactly that. Bug #23203
* | tests: have getprocaddress return a return codeRobert Ellison2009-08-071-11/+26
| | | | | | | | | | | | These minor changes allow getprocaddress to return an error code in the case of test failure. This allows the program to be integrated into the piglit test suite.
* | mesa: improve getprocaddress testRobert Ellison2009-08-072-41/+3204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow the getprocaddress test to test extensions not supported by Mesa. The original getprocaddress.py script only included OpenGL extension functions that were in Mesa dispatch tables. Now all known extension functions (as detailed in gl_API.xml) are included. As the test does not link against any extension function symbols (i.e. it uses glXGetProcAddress() for all extension functions), it still compiles and links against Mesa; but now the same binary can be used to test extensions not yet supported by Mesa. - Extend the list of tested extension functions. The last revision of this test exercised 16 extension functions; this revision adds support for 95 more.
* | progs/xdemos: added multictx.c (multi-context rendering demo)Brian Paul2009-08-072-0/+586
| | | | | | | | | | | | Create one window and render into it with two GLX contexts. Setup the rendering state differently for each context to be sure there's no state "bleeding" between contexts.
* | glxgears: make functions static, update commentsBrian Paul2009-08-071-10/+3
| |
* | progs/egl: Add xeglbindtex, really.Chia-I Wu2009-08-061-0/+474
| | | | | | | | Missed this file in the earlier commit.