summaryrefslogtreecommitdiffstats
path: root/src/glsl/link_uniforms.cpp
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2014-06-05 07:37:16 +0300
committerTapani Pälli <[email protected]>2014-06-16 06:49:59 +0300
commitdadc3d04f034327b4afeeadf9a860e1b620fab37 (patch)
treeb1947bb1840d456474a8f56bc82f8d6a315b6644 /src/glsl/link_uniforms.cpp
parentbfe42ddd99e8702e2daf14238966069fd25b6d0e (diff)
glsl: add glsl_type::uniform_locations() helper function
This function calculates the number of unique values from glGetUniformLocation for the elements of the type. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/link_uniforms.cpp')
0 files changed, 0 insertions, 0 deletions