Vinson Lee
2178abfba3
progs/glsl: Remove duplicate included header from shtest.c.
15 years ago
Vinson Lee
223c8482ca
progs/glsl: Silence uninitialized variable warning.
15 years ago
Vinson Lee
c1dad22d71
progs/glsl: Prevent possible string overflow.
15 years ago
Vinson Lee
5b2713c92a
progs/glsl: Provide a better fix for fgets warning.
15 years ago
Vinson Lee
0ab29d2b35
progs/glsl: Silence compiler warnings.
15 years ago
Vinson Lee
121ff55d81
progs/glsl: Use C-style comments.
15 years ago
Vinson Lee
b1a87a3e0b
progs/glsl: Fix memory leak in deriv.c.
(cherry picked from commit 0e783c7d03
)
16 years ago
Vinson Lee
25fd168f03
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.
(cherry picked from commit b8dcb79c53
)
16 years ago
Vinson Lee
9e29242331
progs/glsl: Redraw upon keypress.
(cherry picked from commit 881f55236a
)
16 years ago
Vinson Lee
0a107d36c2
progs/glsl: Fix trirast GLSL compilation errors on Mac OS.
(cherry picked from commit 4b3ec2acf2
)
16 years ago
Vinson Lee
b094683e7c
progs/glsl: Fix noise GLSL compilation error on Mac OS.
(cherry picked from commit 0d31990b47
)
16 years ago
Vinson Lee
592c8522a2
demos/glsl: Add missing break statement to noise test.
(cherry picked from commit 7dfea5c072
)
16 years ago
Vinson Lee
8f4d3613da
progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.
(cherry picked from commit d4dc2e30da
)
16 years ago
Vinson Lee
9ed77d12b1
progs/glsl: Add missing break statement in multinoise.c.
(cherry picked from commit 43080e40aa
)
16 years ago
Vinson Lee
832593772d
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
(cherry picked from commit 04442841fb
)
16 years ago
Vinson Lee
2a5cd95e24
progs/glsl: Include local headers before installed headers during compilation.
Fixes compilation errors on platforms with insufficient older installed
GL headers.
(cherry picked from commit d17af7d1e1
)
16 years ago
Brian Paul
ccea09cd3a
progs/glsl: minor Makefile clean-ups
(cherry picked from commit 4df2f7af5e
)
16 years ago
Jon TURNEY
a15d9ca9cc
Fix building of GLSL demos which use M_PI
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>
16 years ago
Peter Hutterer
bf19638a00
prog/glsl: fix Makefile for samplers_array.
The rule added in 488b3c4d1b
does not use the
right INCDIR, breaking the build when GL isn't installed in the default include
paths.
7.5 branch only fix, already fixed in master by rewriting the Makefile
(ceb9459ed5
)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
16 years ago
Brian Paul
7205221051
progs/glsl: asst. changes in shtest.c
16 years ago
Brian Paul
2bcf787de1
progs/glsl: handle window resizes in texaaline.c
16 years ago
Brian Paul
488b3c4d1b
progs/glsl: add special Makefile rule for samplers_array
16 years ago
Brian Paul
f6d34c2058
progs/glsl: change samplers.c to better test sampler/texture indexing
Now the left half is yellow and the right half is red, with the gradients
going in opposite directions.
16 years ago
Brian Paul
42675ff0e3
progs/glsl: call ValidateShaderProgram()
16 years ago
Brian Paul
a215da5e9c
progs/glsl: report compile/link times in shtest.c
16 years ago
Brian Paul
8a883d1657
progs/glsl: update multitex.shtest for new texture syntax
16 years ago
Brian Paul
0062bd68b3
progs/glsl: update shtest.c to handle 1D/3D/CUBE/RECT textures
16 years ago
Brian Paul
174054c973
progs/glsl: tweaks to shtest.c
1. Larger sphere to match cube size
2. Allow -geometry option to override window size
3. Cube samplers
16 years ago
Brian Paul
94d14f6cd2
progs/glsl: more comments in shtest.c
16 years ago
Brian Paul
680df529a3
demos/glsl: remove glutInitWindowPosition() calls
16 years ago
Pauli Nieminen
57f55af219
mesa: Add 2 new demos to .gitignore.
16 years ago
Dave Airlie
ceb9459ed5
glsl: re-write Makefile after I called it bad.
16 years ago
Brian Paul
0c717bcd5d
progs/glsl: added multitex.shtest config file
16 years ago
Brian Paul
08ecd863ee
progs/glsl: set generic vertex attribute values
16 years ago
Brian Paul
62d1132160
progs/glsl: add type field to shtest config files
Plus, texture loading.
16 years ago
Dave Airlie
25cd4dc1d6
glsl/tests: skinning.o
worst Makefile ever. not sure what is going on here, hopefully
this fixes tinderbox
16 years ago
Brian Paul
ae99e4c67e
progs/glsl: new shtest program, a simple shader test harness app
This commit includes some sample config files (*.shtest)
16 years ago
Brian Paul
fdfb0d4b0e
progs/glsl: change uniform_info::type field to use GLSL vector types
16 years ago
Brian Paul
684049d97d
demos: rename InitUniforms() to SetUniformValues()
And call new PrintUniforms() in demos.
16 years ago
Eric Anholt
74504c48ad
demos: Fix the VBO usage in glsl/multitex.
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
16 years ago
Vinson Lee
881f55236a
progs/glsl: Redraw upon keypress.
16 years ago
Vinson Lee
4b3ec2acf2
progs/glsl: Fix trirast GLSL compilation errors on Mac OS.
16 years ago
Vinson Lee
0d31990b47
progs/glsl: Fix noise GLSL compilation error on Mac OS.
16 years ago
Vinson Lee
d4dc2e30da
progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.
16 years ago
Vinson Lee
04442841fb
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
16 years ago
Brian Paul
89e20ab3ae
progs/glsl: use ShadersSupported()
16 years ago
Brian Paul
b08f447547
progs/glsl: change //-style comments
16 years ago
Vinson Lee
b8dcb79c53
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.
16 years ago
Vinson Lee
0e783c7d03
progs/glsl: Fix memory leak in deriv.c.
16 years ago
Vinson Lee
43080e40aa
progs/glsl: Add missing break statement in multinoise.c.
16 years ago