diff options
author | Paul Berry <[email protected]> | 2011-10-25 16:24:03 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-10-31 11:29:14 -0700 |
commit | fa0066ae2b2d304065ee8d93d9b5ecc8b457425a (patch) | |
tree | 378dcd82d6904b01ed0f7171b919e7585335c692 /src/mesa/program | |
parent | f40c6b2a992f3ca796826a47743c0c80232d7ab2 (diff) |
mesa: Add glsl_type::get_scalar_type() function.
This function is similar to get_base_type(), but when called on
arrays, it returns the scalar type composing the array. For example,
glsl_type(vec4[]) => float_type.
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/program')
0 files changed, 0 insertions, 0 deletions