glsl: Pass type to is_valid_default_precision_type instead of name
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 9 Aug 2013 22:15:45 +0000 (15:15 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 21 Aug 2013 14:43:48 +0000 (07:43 -0700)
commitb15b62c54c0e3c10aaf8573a62acfcdc93979b0d
treed87cea2237ac06f0c1145c9ba2a4712a2d4c966a
parent00fcdc81ff06449a359e0a2e7ae3d29d39f93d36
glsl: Pass type to is_valid_default_precision_type instead of name

This is used by the next patch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "9.2" <mesa-stable@lists.freedesktop.org>
src/glsl/ast_to_hir.cpp