Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-26 | Overhaul of error handling. | Brian | |
2007-02-16 | change all enum tokens to uppercase | Brian | |
2007-02-03 | Add literal_size field to slang_operation. | Brian | |
Used to track the number of components in a float/int/bool literal. Helps with some typechecking things. Fixes problems with calls such as "distance(v2, vec2(1.0, 2.0))" | |||
2007-02-02 | s/slang_assembly_typeinfo/slang_typeinfo/ | Brian | |
2007-02-02 | s/slang_assembly_name_space/slang_name_space/ | Brian | |
2007-02-02 | Move guts of slang_lookup_constant() into a new function in slang_simplify.c | Brian | |
2007-02-01 | Fix logic in _slang_simplify(): vec2() constructor case wasn't getting used. | Brian | |
2007-01-17 | New _slang_adapt_call() function. | Brian | |
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])) | |||
2007-01-15 | added vec3 constructor code | Brian | |
2006-12-13 | Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵ | Brian | |
instructions. |