GLSL: The LOG2 macro doesn't have enough precision
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 18 Dec 2008 22:11:06 +0000 (14:11 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 19 Dec 2008 21:06:53 +0000 (13:06 -0800)
commit962fa6bbc16abf2b9829bd0b761d9baa9d01fd1e
treed3e42f5a82b98f435a573550f45566bf686b8890
parent1db63713046efd49071aae448105df8a80e1e83d
GLSL: The LOG2 macro doesn't have enough precision

It looks like the LOG2 macro only has 8 or 9 bits of precission, but
the ARB_vertex_program spec says "accurate to at least 10 bits".
src/mesa/shader/prog_execute.c