diff options
author | Brian Paul <[email protected]> | 2008-08-06 16:26:47 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-08-06 16:26:47 -0600 |
commit | 8a40fe06d72aa8b0c3a03b92b60a0f5b4ea61987 (patch) | |
tree | 34164013cbde9237936f029777aee0e5b48fb808 /docs | |
parent | 7e2458c7b55b2662067d8cce8a962d8c2bbd3a43 (diff) |
mesa: glsl: fix a number of glUniform issues
Additional error checking.
Allow setting elements of uniform arrays. This involves encoding both
a uniform location and a parameter offset in the value returned by
glGetUniformLocation().
Limit glUniform[if]v()'s count to the size of the uniform array.
When setting bool-valued uniforms, convert all float/int values to 0 or 1.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions