glsl/linker: check against varying limit after unused varyings are eliminated
authorMarek Olšák <maraeo@gmail.com>
Thu, 13 Jun 2013 01:17:22 +0000 (03:17 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 2 Jul 2013 15:02:14 +0000 (17:02 +0200)
commit3c555827c3e2fdb84ee4b4b8fd8296985cbb1fda
tree344bc224a6b3893dd4b2b7a516f89f6c52857886
parent284d9549123d7a5417310d359c2c46a4317e47bb
glsl/linker: check against varying limit after unused varyings are eliminated

We counted even the varyings which were later eliminated, which was
suboptimal.

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