OSDN Git Service

glsl: add helper for counting varyings
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 15 Mar 2016 06:52:06 +0000 (17:52 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Thu, 31 Mar 2016 01:51:06 +0000 (12:51 +1100)
commit8b6f8fe5030a0bcc6cce6bf3aae48795802b6fb6
treefcab92453c0542088cc9a41eac3dd1bb5876d1ef
parentba7a7d4c39c06c6231e3f9a05f5e32378b76db6a
glsl: add helper for counting varyings

This will be used to get a count of the number of varying name
strings we are required to generate for use with the query api.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl_types.cpp
src/compiler/glsl_types.h