[Mesa-dev] [PATCH 1/3] nir: Get the number of SSBOs and UBOs right

2015-10-15 Thread Iago Toral Quiroga
Before d31f98a272e429d and 56e2bdbca36a20 we had a sigle index space for UBOs and SSBOs, so NumBufferInterfaceBlocks would contain the combined number of blocks, not just one kind. This means that for shader programs using both UBOs and SSBOs, we were setting num_ssbos and num_ubos to a larger

Re: [Mesa-dev] [PATCH 1/3] nir: Get the number of SSBOs and UBOs right

2015-10-15 Thread Iago Toral
On Thu, 2015-10-15 at 08:06 -0700, Jason Ekstrand wrote: > On Thu, Oct 15, 2015 at 12:18 AM, Iago Toral Quiroga > wrote: > > Before d31f98a272e429d and 56e2bdbca36a20 we had a sigle index space for > > UBOs > > and SSBOs, so NumBufferInterfaceBlocks would contain the combined

Re: [Mesa-dev] [PATCH 1/3] nir: Get the number of SSBOs and UBOs right

2015-10-15 Thread Jason Ekstrand
On Thu, Oct 15, 2015 at 12:18 AM, Iago Toral Quiroga wrote: > Before d31f98a272e429d and 56e2bdbca36a20 we had a sigle index space for UBOs > and SSBOs, so NumBufferInterfaceBlocks would contain the combined number of > blocks, not just one kind. This means that for shader