glsl: add new glsl_strtof() function
authorBrian Paul <brianp@vmware.com>
Wed, 23 Jan 2013 16:05:30 +0000 (09:05 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 25 Jan 2013 22:41:39 +0000 (15:41 -0700)
commit811b5b4b398e4eb1617295fe7937e387ca0bcb44
treed2f1e5071152ec7e5623e0cca0ac1c9a6e154422
parent6102b9d44104bf8701830ca42dc64ed330e2b8e0
glsl: add new glsl_strtof() function

Note, we could alternately implement this in terms of glsl_strtod()
with a (float) cast.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/strtod.c
src/glsl/strtod.h