freedreno/a3xx: handle large shader program sizes
authorRob Clark <robclark@freedesktop.org>
Wed, 1 Oct 2014 19:26:26 +0000 (15:26 -0400)
committerRob Clark <robclark@freedesktop.org>
Thu, 2 Oct 2014 17:57:07 +0000 (13:57 -0400)
commit7309c6126f2987d703b2f30b3cb56edf97d437d3
treea881d127cccf849d2aa65250b00aae25385e57b9
parentd01ee5923df53b170e6ece7856d59fe15efec8b1
freedreno/a3xx: handle large shader program sizes

Above a certain limit use CACHE mode instead of BUFFER mode.  This
should solve gpu hangs with large shader programs.

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