glsl: count attributes for vertex inputs properly.
authorDave Airlie <airlied@redhat.com>
Mon, 12 Oct 2015 03:23:29 +0000 (13:23 +1000)
committerDave Airlie <airlied@redhat.com>
Sat, 19 Dec 2015 07:57:43 +0000 (17:57 +1000)
commit97eee905471d7426d23c8a4c48b9810c586f9dff
treef50104b4de2d81d253326cff299bce440d2d4494
parent14193e4643370db92210710f2ef152c693d6c4ff
glsl: count attributes for vertex inputs properly.

This function deals with vertex inputs and fragment
outputs, so we should count the attribute locations
correctly for the vertex inputs.

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/linker.cpp