Posted by Mat000 on Mar 10, 2015; 9:13am URL: https://forum.jogamp.org/Hardcoded-float-not-working-tp4030974p4034131.html
Miha wrote
compiler somehow recognizes all hardcoded floats as integers.
for those who will find it (after driving nuts for a few days)
the problem is not in JOCL (I used JavaCL) nor in Java (although Java7 and Java6 behave differently).
It's definitely a bug in the AMD OpenCL compiler for Linux. It also appears under various circumstances: