glsl2: Fix up the implementation of fract() for vector types.
authorEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 22:59:07 +0000 (15:59 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 30 Jun 2010 22:59:07 +0000 (15:59 -0700)
commit4e16a7b526bb4736cd11e512009cf6532b2d1dc5
tree7be90e24cf75ee9643448a173f9fb5fd705381fe
parent285ff93819724b9a858984dc8c30858784a5ee5b
glsl2: Fix up the implementation of fract() for vector types.

There's no need to split each vector component out, just do vector ops.
src/glsl/builtin_function.cpp
src/glsl/builtins/110/fract