summaryrefslogtreecommitdiff
path: root/progs/tests/yuvsquare.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-08-06 16:26:47 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-08-06 16:26:47 -0600
commit8a40fe06d72aa8b0c3a03b92b60a0f5b4ea61987 (patch)
tree34164013cbde9237936f029777aee0e5b48fb808 /progs/tests/yuvsquare.c
parent7e2458c7b55b2662067d8cce8a962d8c2bbd3a43 (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 'progs/tests/yuvsquare.c')
0 files changed, 0 insertions, 0 deletions