glsl: Add missing bool case in glsl_type::get_scalar_type
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 15 Mar 2013 23:47:46 +0000 (16:47 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 29 Mar 2013 19:01:01 +0000 (12:01 -0700)
commitc770faea0a308ffb858c0125c9e680c6e477efee
tree6551062c6a2d18ce9b698a2a6239ce95f691f9dd
parent57a502518e79d42b014517bf36b297cc68947389
glsl: Add missing bool case in glsl_type::get_scalar_type

Since the case was missing bec4->get_scalar_type() would return bvec4,
but vec4->get_scalar_type() would return float.

NOTE: This is a candidate for stable branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/glsl_types.cpp