glsl/linker: Properly pack GS input varyings.
authorPaul Berry <stereotype441@gmail.com>
Wed, 10 Apr 2013 13:48:42 +0000 (06:48 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:22:59 +0000 (20:22 -0700)
commit3b0cf7027daebb8bea6af35d8d2ad4ed19fa7b5a
treed641b266ae5b24fb4b6a8584d24cf092191491b7
parent40d469f9ac45dfb825364af7a0436346c13502d6
glsl/linker: Properly pack GS input varyings.

Since geometry shader inputs are arrays (where the array index
indicates which vertex is being examined), varying packing needs to
treat them differently.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ir_optimization.h
src/glsl/link_varyings.cpp
src/glsl/link_varyings.h
src/glsl/linker.cpp
src/glsl/lower_packed_varyings.cpp