glsl: Changed extension enable bits to bools.
authorPaul Berry <stereotype441@gmail.com>
Fri, 24 Jun 2011 19:33:30 +0000 (12:33 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 28 Jun 2011 20:57:03 +0000 (13:57 -0700)
commit9c4445de6e69d021491361d884bf172c05189d61
tree2dabfd1095f7a6b6ccfa7cfc37ea63ffe9e7b21d
parentb078aad8ab22d840456688480a8c27d4664297ce
glsl: Changed extension enable bits to bools.

These were previously 1-bit-wide bitfields.  Changing them to bools
has a negligible performance impact, and allows them to be accessed by
offset as well as by direct structure access.

NOTE: This is a candidate for the 7.10 and 7.11 branches.

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