summaryrefslogtreecommitdiff
path: root/progs/glsl
AgeCommit message (Collapse)Author
2009-11-18progs/glsl: Fix trirast GLSL compilation errors on Mac OS.Vinson Lee
2009-11-18progs/glsl: Fix noise GLSL compilation error on Mac OS.Vinson Lee
2009-11-18progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.Vinson Lee
2009-11-17progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.Vinson Lee
2009-11-17progs/glsl: use ShadersSupported()Brian Paul
2009-11-17progs/glsl: change //-style commentsBrian Paul
2009-11-17progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.Vinson Lee
tangentAtrrib is assigned the result of glGetAttribLocation. The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if tangentAttrib is a GLuint.
2009-11-17progs/glsl: Fix memory leak in deriv.c.Vinson Lee
2009-11-12progs/glsl: Add missing break statement in multinoise.c.Vinson Lee
2009-11-11demos/glsl: Add missing break statement to noise test.Vinson Lee
2009-10-05Merge branch 'mesa_7_6_branch'Brian Paul
Conflicts: src/gallium/auxiliary/util/u_cpu_detect.c
2009-10-05Fix building of GLSL demos which use M_PIJon TURNEY
Some <math.h> files do not define M_PI, in which case, provide our own definition Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
2009-09-21progs/glsl: Include local headers before installed headers during compilation.Vinson Lee
Fixes compilation errors on platforms with insufficient older installed GL headers.
2009-09-16progs/glsl: minor Makefile clean-upsBrian Paul
2009-08-26progs/glsl: asst. changes in shtest.cBrian Paul
2009-08-26Merge branch 'mesa_7_5_branch'Brian Paul
2009-08-26progs/glsl: handle window resizes in texaaline.cBrian Paul
2009-08-26progs/glsl: add special Makefile rule for samplers_arrayBrian Paul
2009-08-26progs/glsl: change samplers.c to better test sampler/texture indexingBrian Paul
Now the left half is yellow and the right half is red, with the gradients going in opposite directions.
2009-08-25progs/glsl: call ValidateShaderProgram()Brian Paul
2009-08-20progs/glsl: report compile/link times in shtest.cBrian Paul
2009-08-20progs/glsl: update multitex.shtest for new texture syntaxBrian Paul
2009-08-20progs/glsl: update shtest.c to handle 1D/3D/CUBE/RECT texturesBrian Paul
2009-08-20progs/glsl: tweaks to shtest.cBrian Paul
1. Larger sphere to match cube size 2. Allow -geometry option to override window size 3. Cube samplers
2009-08-20progs/glsl: more comments in shtest.cBrian Paul
2009-08-17demos/glsl: remove glutInitWindowPosition() callsBrian Paul
2009-08-15mesa: Add 2 new demos to .gitignore.Pauli Nieminen
2009-08-14glsl: re-write Makefile after I called it bad.Dave Airlie
2009-08-13progs/glsl: added multitex.shtest config fileBrian Paul
2009-08-13progs/glsl: set generic vertex attribute valuesBrian Paul
2009-08-13progs/glsl: add type field to shtest config filesBrian Paul
Plus, texture loading.
2009-08-14glsl/tests: skinning.oDave Airlie
worst Makefile ever. not sure what is going on here, hopefully this fixes tinderbox
2009-08-13progs/glsl: new shtest program, a simple shader test harness appBrian Paul
This commit includes some sample config files (*.shtest)
2009-08-12progs/glsl: change uniform_info::type field to use GLSL vector typesBrian Paul
2009-08-12demos: rename InitUniforms() to SetUniformValues()Brian Paul
And call new PrintUniforms() in demos.
2009-08-10demos: Fix the VBO usage in glsl/multitex.Eric Anholt
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
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-07-17progs/glsl: finish conversion to GLEWBrian Paul
This is a follow-on to b799af91d5ffbee1481161fec29eb4c92b161272. Remove _func function suffix and unneeded #includes.
2009-07-13Merge branch 'mesa_7_5_branch'Brian Paul
2009-07-10demos: set 4th component of texcoord to 1.0Brian Paul
Avoid potential randomness in resulting texcoords.
2009-07-08demos: indentation fixBrian Paul
2009-07-08demos: use glEnable/DisableClientState() for vertex arraysBrian Paul
2009-06-29Merge branch 'mesa_7_5_branch'Brian Paul
2009-06-29progs/glsl: link with GLEW libraryBrian Paul
2009-06-29progs/glsl: compile with scons and glewKeith Whitwell
Get most of these working with scons.
2009-06-14Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
2009-06-01Merge branch 'mesa_7_5_branch'Brian Paul
2009-06-01demos: add missing dependencies for util filesBrian Paul
2009-05-22demos: extend glsl/multitex.c to use a vertex buffer objectBrian Paul
2009-05-22demos: fix multitex.c VertCoord attribute mappingBrian Paul
If the multitex.vert shader uses the VertCoord generic vertex attribute instead of the pre-defined gl_Vertex attribute, we need to make sure that VertCoord gets bound to generic vertex attribute zero. That's because we need to call glVertexAttrib2fv(0, xy) after all the other vertex attributes have been set since setting generic attribute 0 triggers vertex submission. Before, we wound up issuing the vertex attributes in the order 0, 1, 2 which caused the first vertex to be submitted before all the attributes were set. Now, the attributes are set in 1, 2, 0 order.