Re: [Mesa-dev] [PATCH 1/3] r600g: avoid unnecessary shader exports v2

2012-06-26 Thread Andreas Boll
2012/6/26 : > From: Vadim Girlin > > In some cases TGSI shader has more color outputs than the number of CBs, > so it seems we need to limit the number of color exports. This requires > different shader variants depending on the nr_cbufs, but on the other hand > we are doing less exports, which a

Re: [Mesa-dev] [PATCH 1/3] r600g: avoid unnecessary shader exports v2

2012-06-26 Thread Alex Deucher
On Tue, Jun 26, 2012 at 12:21 PM, wrote: > From: Vadim Girlin > > In some cases TGSI shader has more color outputs than the number of CBs, > so it seems we need to limit the number of color exports. This requires > different shader variants depending on the nr_cbufs, but on the other hand > we a

[Mesa-dev] [PATCH 1/3] r600g: avoid unnecessary shader exports v2

2012-06-26 Thread j . glisse
From: Vadim Girlin In some cases TGSI shader has more color outputs than the number of CBs, so it seems we need to limit the number of color exports. This requires different shader variants depending on the nr_cbufs, but on the other hand we are doing less exports, which are very costly. v2: fix