Switched DX10 from float to gs_scalar