added some explicit (uniform float) casts to remove ambiguous conversions in some ISPC code