freedreno/a3xx: fix gpu lockup in some piglit tests
authorRob Clark <robclark@freedesktop.org>
Wed, 4 Sep 2013 02:00:47 +0000 (22:00 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 14 Sep 2013 17:31:58 +0000 (13:31 -0400)
commit4712904ddc9f735365acaeec584d7f596fcf2a0b
tree6f45fed6589ce30bd8a5ca86f21fdda6745b4195
parent64c134cedb8845f274b017ff9ca3c3ca4d34372b
freedreno/a3xx: fix gpu lockup in some piglit tests

The varying-out config comes from the inputs of the frag shader (so that
we aren't exporting unneeded varyinges).  The varyings-count should come
from the frag shader as well, to avoid a discrepency in configuration
and resulting gpu lockup.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_program.c