diff options
author | Matt Turner <[email protected]> | 2012-06-04 16:26:32 -0400 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-06-12 18:51:25 -0400 |
commit | 9aa3fbcc2e1f46416f1d334427ebe48388584384 (patch) | |
tree | 074194d8c3799b421b1687c39e5d4339d85f6d3e /src/glsl/glsl_parser_extras.h | |
parent | d7bef19c7ff40f0b83a42fdb8509eed3ad1e40a3 (diff) |
glsl: Add is_basis function
Determines whether it's a basis vector, i.e., a vector with one element
equal to 1 and all other elements equal to 0.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.h')
0 files changed, 0 insertions, 0 deletions