summaryrefslogtreecommitdiff
path: root/src/mesa/shader/arbprogram.h
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-08 15:32:02 -0700
committerBrian Paul <brianp@vmware.com>2009-01-08 15:52:06 -0700
commit1efbad7499626fd5e3718f07de4ed51a346710df (patch)
treed88551e27219f8857c61bd2ce660d5126b420ec2 /src/mesa/shader/arbprogram.h
parentf8f9a1b620d31d1a59855fd502caed325d4a324f (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.h')
0 files changed, 0 insertions, 0 deletions