summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_vectorize.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/opt_vectorize.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/opt_vectorize.cpp')
0 files changed, 0 insertions, 0 deletions