Re: [Mesa-dev] [PATCH] i965/fs: do not depend on std140 alignment rules for UBO loads

2016-05-20 Thread Francisco Jerez
Iago Toral Quiroga writes: > The previous implementation relied on the std140 alignment rules to > avoid handling misalignment in the case where we are loading more than > 2 double components from a vector, which requires to emit a second load > message. > > This alternative implementation deals

[Mesa-dev] [PATCH] i965/fs: do not depend on std140 alignment rules for UBO loads

2016-05-19 Thread Iago Toral Quiroga
The previous implementation relied on the std140 alignment rules to avoid handling misalignment in the case where we are loading more than 2 double components from a vector, which requires to emit a second load message. This alternative implementation deals with misalignment and is more flexible g