glsl: push vertex count determination down one level
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 7 Sep 2014 06:19:15 +0000 (18:19 +1200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 22 Jul 2015 22:59:28 +0000 (00:59 +0200)
commit0e94f350eeecd84cd5f15b10837b285bc9120684
treeab4e8964a0fa667eaa51e3dcb1b1ef2e80b8028d
parent567f1b2ee89bf05f0600e9e79847140555f0a035
glsl: push vertex count determination down one level

We have the prog here, so we don't need the caller to work this out for
us.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/link_varyings.cpp
src/glsl/link_varyings.h
src/glsl/linker.cpp