mesa: Changes to 'master'
Brian Paul
brianp at kemper.freedesktop.org
Tue Jan 1 16:58:22 UTC 2008
progs/tests/.gitignore | 3
progs/tests/Makefile | 1
progs/tests/shader_api.c | 337 +++++++++++++++++++++++++++++++++++++++++++
src/mesa/shader/shader_api.c | 142 ++++++++++++++----
4 files changed, 457 insertions(+), 26 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary
New commits:
commit 2bf2a8cc6dbf8cd4561bfc45886d5317beda098b
Author: Bruce Merry <bmerry at users.sourceforge.net>
Date: Fri Dec 21 23:18:40 2007 +0200
Convert to 0/1 when setting boolean uniforms
Also add some extra tests to the shader_api regression tests
commit 3f948025dbbff665ed41ad771e459472cc069e8b
Author: Bruce Merry <bmerry at users.sourceforge.net>
Date: Fri Dec 21 16:04:43 2007 +0200
Make use of count in _mesa_uniform_matrix
commit 239be839be3348f7fb4c069a49e43fe0faae038b
Author: Bruce Merry <bmerry at users.sourceforge.net>
Date: Fri Dec 21 15:23:39 2007 +0200
Add a test program to test for assorted bugs in shader_api.c
commit 89b80327ae9d74729f7eb57f338f6b20837ceb05
Author: Bruce Merry <bmerry at users.sourceforge.net>
Date: Fri Dec 21 15:20:17 2007 +0200
More fixes to shader_api
- return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad
- correct the type-checking of uniforms from my previous commit
- accept location of -1 in _mesa_uniform_matrix
commit eeb03faadc7e677f69aaf82aef2786c39faa4b76
Author: Bruce Merry <bmerry at users.sourceforge.net>
Date: Fri Dec 21 14:41:45 2007 +0200
Fix several bugs relating to uniforms and attributes in GLSL API
- fix sizes for GL_FLOAT_MAT2x3 and GL_FLOAT_MAT4x3 in sizeof_glsl_type
- fix size returns in _mesa_get_active_attrib
- fix out-of-bounds array access to vec_types in _mesa_get_active_attrib
- fix queries of matrix uniforms in _mesa_get_uniformfv
- fix _mesa_get_uniformfv to only return one base, even from an array
- allow location == -1 in _mesa_uniform
- validate types in _mesa_uniform
- allow array overruns in _mesa_uniform
More information about the mesa-commit
mailing list