diff options
author | Brian Paul <[email protected]> | 2009-01-08 15:32:02 -0700 |
---|---|---|
committer | Alan Hourihane <[email protected]> | 2009-01-09 11:16:40 +0000 |
commit | ebccb250f7131eb508536db7a00608aee98a3b21 (patch) | |
tree | c60868c6b20df8ce05365d391a78b80385ee0795 /src/mesa/shader/arbprogram_syn.h | |
parent | 5273a5f0d7b433150cdb16737bb295d76d0594a0 (diff) |
glsl: fix broken +=, -=, *=, /= operators
These functions need to return the final computed value.
Now expressions such as a = (b += c) work properly.
Also, no need to use __asm intrinsics in these functions. The resulting
code is the same when using ordinary arithmetic operators and is more legible.
Diffstat (limited to 'src/mesa/shader/arbprogram_syn.h')
0 files changed, 0 insertions, 0 deletions