glsl: Make sure that we don't put too many bitfields in ast_type_qualifier.
authorEric Anholt <eric@anholt.net>
Wed, 12 Jun 2013 20:46:57 +0000 (13:46 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:23:28 +0000 (20:23 -0700)
commitf2e14238a79100f22ccdcdda2a2267ff9fc85655
tree98937da0d1cc413b8fddbbf08e40d8dcc03afd27
parente62ca571999304e1ab25923cc0e351137bd64f16
glsl: Make sure that we don't put too many bitfields in ast_type_qualifier.

We do some tests of qualifiers using a union containing an int and the
struct full of bitfields, so make sure the bitfields don't spill
outside the int.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/ast_to_hir.cpp