glsl: check total count of multi-slot double vertex attribs
authorDave Airlie <airlied@redhat.com>
Thu, 30 Apr 2015 00:42:06 +0000 (10:42 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 8 May 2015 00:21:01 +0000 (10:21 +1000)
commitad208d975a6d3aebe14f7c2c16039ee200d8b30c
tree7dd3b9320eb06b4c6e40f027500d51c67d41ac72
parent023fc344daae3e38f5e250cd0ea36ea674cd84f9
glsl: check total count of multi-slot double vertex attribs

The spec is vague all over the place about this, but this seems
to be the intent, we can probably make this optional later if
someone makes hw that cares and writes a driver.

Basically we need to double count some of the d types but
only for totalling not for slot number assignment.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/linker.cpp