vc4: Consume the implicit varyings for points and lines.
authorEric Anholt <eric@anholt.net>
Tue, 12 Aug 2014 22:50:53 +0000 (15:50 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 15 Aug 2014 19:00:32 +0000 (12:00 -0700)
commitba875b3a0d8119fda030dfdc28cd831d9ca51e08
treeac096ed5aaf92753d9553675075993d4994463d4
parent64ad96a9f4dec0724d7276d32de59cc621fccb55
vc4: Consume the implicit varyings for points and lines.

We were triggering simulator assertion failures for not consuming these,
and presumably we want to actually make use of them some day (for things
like point/line antialiasing)

Note that this has the qreg index as 0, which is the same index as the
first GL varyings read.  This doesn't matter currently, since that number
isn't used for anything except dumping.
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_draw.c
src/gallium/drivers/vc4/vc4_program.c