glsl: Mark float constants as such
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Feb 2016 08:18:41 +0000 (09:18 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 19 Feb 2016 13:16:05 +0000 (14:16 +0100)
commitd1617b4088aafc58affde4e348f66c0d45286735
treeae2f26a0f1bcdabb069db5b74071628bc3129384
parentad22886ef12907409c621c92aafb56c1ceb047a5
glsl: Mark float constants as such

So we don't generate double to float conversion code

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ast_function.cpp