Fix the precision of temporary variables created by glsl-optimizer
Fix the issue #1051