vc4: Drop maximum number of varyings down to 8.
authorEric Anholt <eric@anholt.net>
Wed, 24 Sep 2014 00:25:43 +0000 (17:25 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 24 Sep 2014 07:25:07 +0000 (00:25 -0700)
commitbf4aecfb2acc8d0dc815105d2f36eccbc97c284b
treeb3b799eb7fb6ae095f476f1c042ee6032d95d087
parent45b104e0a228595142ed4bc62bbc8948100b9325
vc4: Drop maximum number of varyings down to 8.

There are only 32 bits in the flatshade flags (which are 1 bit per
component), the simulator crashes when you use more than about this many
varyings, and the original Broadcom code drop only exposed 8 as well.

Fixes 26 piglit tests in the varying-packing group, and makes many others
go from crash to fail (due to not checking their varying counts and
treating link failures as failures).  Regresses ARB_fp/minmax (due to 8
varyings instead of 10).
src/gallium/drivers/vc4/vc4_screen.c