glsl: Expand count_attribute_slots() to cover structs.
authorPaul Berry <stereotype441@gmail.com>
Wed, 31 Jul 2013 15:24:48 +0000 (08:24 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:19:22 +0000 (20:19 -0700)
commit7d95d2b4c9b39b42ea7f9669c8c0da0b229c327c
tree4b97205d68e38262578e4a453e3f5ad7ac3aa0f8
parent0026ad4994ca88a6cdd4e5ef4098469ab57bdcc1
glsl: Expand count_attribute_slots() to cover structs.

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