Re: [Mesa-dev] i965/radeonsi use STD430 packing of UBOs by default

2017-08-20 Thread Marek Olšák
On Mon, Aug 21, 2017 at 1:38 AM, Timothy Arceri wrote: > > > On 21/08/17 08:58, Marek Olšák wrote: >> >> On Mon, Aug 21, 2017 at 12:52 AM, Timothy Arceri >> wrote: >>> >>> On 21/08/17 03:25, Marek Olšák wrote: On Thu, Aug 17, 2017 at 1:02 PM, Timothy Arceri wrote: > >

Re: [Mesa-dev] i965/radeonsi use STD430 packing of UBOs by default

2017-08-20 Thread Timothy Arceri
On 21/08/17 08:58, Marek Olšák wrote: On Mon, Aug 21, 2017 at 12:52 AM, Timothy Arceri wrote: On 21/08/17 03:25, Marek Olšák wrote: On Thu, Aug 17, 2017 at 1:02 PM, Timothy Arceri wrote: Shared (the default) and packed layouts are decided by the implementation. Currently we just pack the

Re: [Mesa-dev] i965/radeonsi use STD430 packing of UBOs by default

2017-08-20 Thread Marek Olšák
On Mon, Aug 21, 2017 at 12:52 AM, Timothy Arceri wrote: > On 21/08/17 03:25, Marek Olšák wrote: >> >> On Thu, Aug 17, 2017 at 1:02 PM, Timothy Arceri >> wrote: >>> >>> Shared (the default) and packed layouts are decided by the >>> implementation. >>> Currently we just pack them using the std140 l

Re: [Mesa-dev] i965/radeonsi use STD430 packing of UBOs by default

2017-08-20 Thread Timothy Arceri
On 21/08/17 03:25, Marek Olšák wrote: On Thu, Aug 17, 2017 at 1:02 PM, Timothy Arceri wrote: Shared (the default) and packed layouts are decided by the implementation. Currently we just pack them using the std140 layout. This change makes it so we use the slightly more compact std430 layout on

Re: [Mesa-dev] i965/radeonsi use STD430 packing of UBOs by default

2017-08-20 Thread Marek Olšák
On Thu, Aug 17, 2017 at 1:02 PM, Timothy Arceri wrote: > Shared (the default) and packed layouts are decided by the implementation. > Currently we just pack them using the std140 layout. This change makes it so > we use the slightly more compact std430 layout on i965 and radeonsi. > > I doubt this

[Mesa-dev] i965/radeonsi use STD430 packing of UBOs by default

2017-08-17 Thread Timothy Arceri
Shared (the default) and packed layouts are decided by the implementation. Currently we just pack them using the std140 layout. This change makes it so we use the slightly more compact std430 layout on i965 and radeonsi. I doubt this will help many games, but it still seems worth implementing. I c