diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-05 16:18:39 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-05 16:18:39 -0600 |
commit | 1308ca6d2168c5c2f81a8e675687e9d9a4db1a28 (patch) | |
tree | 43f2e21146f58870037442871b833ea447dd5551 /src/mesa/shader/arbprogparse.c | |
parent | 749c1b9fbe4bd89e61dfc3657ad4f8adae20ff2b (diff) |
mesa: glsl: re-org of intermediate/temp storage
Simplify the code for allocating storage for intermediate results. Use fewer
temps in some cases.
Also, use new asm vec4_move intrinsic instead of regular assigments in various
constructors. For example:
float f;
vec3 v;
v.xyz = f;
is not legal GLSL, so do this instead:
__asm vec4_move v.xyz, f; // note: f will auto-expand into f.xxxx
Plus, fix assorted bugs in structure comparison.
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
0 files changed, 0 insertions, 0 deletions