Ian Romanick
650e02003f
Merge branch 'mesa_7_6_branch' into mesa_7_7_branch
...
Conflicts:
progs/util/shaderutil.c
src/mesa/drivers/dri/r600/r600_context.c
src/mesa/main/version.h
2009-11-30 17:47:07 -08:00
Ian Romanick
da0883114b
shaderutil: Fix detection of shaders
...
Check for versions >= 2.0 (because some drivers return 3.0), and return
GL_FALSE if shaders are not detected.
2009-11-23 18:33:50 -08:00
Vinson Lee
e19195c185
progs/xdemos: Fix memory leak in pbinfo.c.
2009-11-20 15:52:53 -08:00
Vinson Lee
e0857962b9
progs/xdemos: Fix memory leak in pbdemo.c.
2009-11-20 15:48:29 -08:00
Vinson Lee
538a8df652
progs/xdemos: Fix memory leak in glxpbdemo.c.
2009-11-20 15:18:19 -08:00
Vinson Lee
a4720a1a32
progs/xdemos: Remove duplicate code in glxinfo.c.
2009-11-20 15:06:56 -08:00
Vinson Lee
66a4ec14c3
progs/xdemos: Add assert in corender.c.
2009-11-20 15:03:16 -08:00
Tom Fogal
8f24e863c3
progs: Fix quoting issue with empty set of PROGRAM_DIRS.
...
Quotes are important to make sure the argument to test -n really
is the empty string, but that requires stringifying PROGRAM_DIRS.
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-19 09:26:39 -07:00
Vinson Lee
8556fad751
progs/xdemos: Silence unused value warnings in sharedtex_mt.c.
2009-11-20 13:09:42 -08:00
Vinson Lee
f080567f4c
progs/xdemos: Fix memory leak in glxinfo.c.
2009-11-20 13:01:22 -08:00
Vinson Lee
02c3e0b82d
progs/tests: Silence unused value warnings in sharedtex.c.
2009-11-20 12:49:50 -08:00
Vinson Lee
48deddaa6f
progs/tests: Initialize variable in getprocaddress.c.
2009-11-20 12:34:21 -08:00
Vinson Lee
e26135a744
progs/util: Exit RawImageGetData early if malloc fails.
...
Prevents a null pointer deference later on.
2009-11-20 12:11:55 -08:00
Vinson Lee
c88b18a4df
progs/slang: Check for ftell failure in vstest.c.
2009-11-20 11:34:21 -08:00
Vinson Lee
d36cb2396c
progs/util: Fix memory leak if malloc fails in RawImageOpen.
2009-11-20 11:22:13 -08:00
Vinson Lee
b98db7bf69
progs/vpglsl: Fix psiz-mul.glsl compilation error on Mac OS.
2009-11-19 23:56:07 -08:00
Vinson Lee
760cf71572
progs/vp: Fix memory leak in vp-tris.c.
2009-11-19 22:59:01 -08:00
Vinson Lee
9553a42f63
progs/trivial: Redraw upon keypress.
2009-11-19 22:52:05 -08:00
Vinson Lee
881f55236a
progs/glsl: Redraw upon keypress.
2009-11-19 22:46:19 -08:00
Vinson Lee
4ab8dbe593
progs/xdemos: Add missing break statement in offset.c.
2009-11-19 14:20:26 -08:00
Vinson Lee
3790c6a13b
progs/trivial: Redraw upon keypress.
2009-11-19 13:03:12 -08:00
Vinson Lee
e3cfd78969
progs/tests: Fix memory leak in texdown.c if malloc fails.
2009-11-18 17:30:50 -08:00
Vinson Lee
cde6643724
progs/fp: Redraw upon keypress.
2009-11-18 14:41:40 -08:00
Vinson Lee
4b3ec2acf2
progs/glsl: Fix trirast GLSL compilation errors on Mac OS.
2009-11-18 14:02:20 -08:00
Vinson Lee
0d31990b47
progs/glsl: Fix noise GLSL compilation error on Mac OS.
2009-11-18 13:50:49 -08:00
Vinson Lee
d4dc2e30da
progs/glsl: Fix multinoise GLSL compilation errors on Mac OS.
2009-11-18 12:49:31 -08:00
Vinson Lee
04442841fb
progs/glsl: Fix mandelbrot GLSL compilation error on Mac OS.
2009-11-17 23:15:25 -08:00
Brian Paul
89e20ab3ae
progs/glsl: use ShadersSupported()
2009-11-17 19:22:29 -07:00
Brian Paul
6acb82dab0
progs/util: warn when GLSL not supported
2009-11-17 19:22:11 -07:00
Vinson Lee
773de83d3c
progs/tests: Fix memory leak in arbgpuprog.c.
2009-11-17 15:24:40 -08:00
Brian Paul
fc3c5ffcc8
progs/xdemos: change //-style comments
2009-11-17 16:16:30 -07:00
Brian Paul
b08f447547
progs/glsl: change //-style comments
2009-11-17 16:16:30 -07:00
Brian Paul
1888a72765
progs/demos: silence warnings
2009-11-17 16:16:30 -07:00
Vinson Lee
e8eec93854
progs/slang: Fix potential null pointer dereference in cltest.c.
2009-11-17 14:22:35 -08:00
Vinson Lee
47b5f584a6
progs/redbook: Fix memory leak in quadric.c.
2009-11-17 14:10:35 -08:00
Vinson Lee
d9508e8df9
progs/util: Fix memory leak if fopen fails in RawImageOpen.
2009-11-17 13:49:31 -08:00
Brian Paul
d888bbc45a
progs/xdemos: added -lX11 -lpthread for GNU gold linker
2009-11-17 13:40:00 -07:00
Vinson Lee
11905da883
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
2009-11-17 12:00:22 -08:00
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.
2009-11-17 11:37:48 -08:00
Vinson Lee
786d539511
progs/util: Fix memory leak if malloc fails in tkRGBImageLoad.
2009-11-17 11:04:24 -08:00
Vinson Lee
041cd0e110
progs/util: Fix memory leak if LoadRGBImage fails.
2009-11-17 10:11:50 -08:00
Vinson Lee
0e783c7d03
progs/glsl: Fix memory leak in deriv.c.
2009-11-17 09:54:54 -08:00
Vinson Lee
28b8e4bcd7
progs/util: Fix memory if LoadRGBMipmaps2 fails.
2009-11-17 08:29:36 -08:00
Vinson Lee
0e790ac353
progs/util: Fix memory leak if LoadYUVImage fails.
2009-11-16 18:24:06 -08:00
Vinson Lee
6b480dc21d
progs/demos: Fix memory leak in ray.c.
2009-11-16 18:06:40 -08:00
Vinson Lee
ee555e3d69
progs/demos: Fix memory leak in projtex.c.
2009-11-16 16:31:34 -08:00
Vinson Lee
a1afe303de
progs/demos: Fix memory leak in ipers.c.
2009-11-16 15:44:52 -08:00
Vinson Lee
aef3218f0b
progs/demos: Fix memory leak in fslight.c.
2009-11-16 14:56:07 -08:00
Brian Paul
fcf8dea36c
progs/tests: silence warning
2009-11-16 11:33:45 -07:00
Vinson Lee
a420056750
progs: Ignore Mac OS dSYM directories.
2009-11-14 21:39:31 -08:00