diff options
author | Brian <brian@yutani.localnet.net> | 2007-01-17 16:11:50 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-01-17 16:11:50 -0700 |
commit | eabb7e66bd6fa9770bcf17833cf9fc6317ae7948 (patch) | |
tree | 1f53912e17f281130033f69e4a2ca82cce047d68 /src/mesa/main/clip.c | |
parent | 397b807ad5045c354f3fb2079b7779a6d671dc03 (diff) |
New _slang_adapt_call() function.
This is used to modify function calls (when possible) to make the arguments
map to the function parameters. This includes "unrolling" vector types
and doing casts.
Example:
vec2 v2 = vec2(1.2, 3.4)
ivec3 iv = ivec3(false, v2);
Is converted into:
ivec3 iv = ivec3(int(false), int(v2[0]), int(v2[1]))
Diffstat (limited to 'src/mesa/main/clip.c')
0 files changed, 0 insertions, 0 deletions