Re: [Mesa-dev] [PATCH 10/11] radeonsi: implement streamout shader support

2013-09-05 Thread Marek Olšák
The warning is wrong and my gcc 4.7.3 doesn't show it. This code at the beginning of the block where vdata is declared ensures vdata is always initialized: if (!num_comps || num_comps > 4) continue; You might be seeing one of these bugs: http://gcc.gnu.org/bugzilla/buglist.cgi?quicksearch=ma

Re: [Mesa-dev] [PATCH 10/11] radeonsi: implement streamout shader support

2013-09-05 Thread Michel Dänzer
On Die, 2013-09-03 at 15:23 +0200, Marek Olšák wrote: > The shader is responsible for writing to streamout buffers using > the TBUFFER_STORE_FORMAT_* instructions. > > The locations of some input SGPRs and VGPRs are assigned dynamically, because > the input SGPRs controlling streamout are not decl

[Mesa-dev] [PATCH 10/11] radeonsi: implement streamout shader support

2013-09-03 Thread Marek Olšák
The shader is responsible for writing to streamout buffers using the TBUFFER_STORE_FORMAT_* instructions. The locations of some input SGPRs and VGPRs are assigned dynamically, because the input SGPRs controlling streamout are not declared if they are not needed, decreasing the indices of all follo