glsl: create helper to remove outer vertex index array used by some stages
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 18 Dec 2015 02:53:27 +0000 (13:53 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 6 Jan 2016 22:06:16 +0000 (09:06 +1100)
commit5907a02ab6fbe20b4ba58eb00bf93261129798d5
treea26b29ce8472b43b68b2b53351f6249373968fa3
parent30991d7389b6b475625ccce2aaae2f3f8cf8e95f
glsl: create helper to remove outer vertex index array used by some stages

This will be used in the following patch for calculating array sizes correctly
when reserving explicit varying locations.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
src/glsl/link_varyings.cpp