Re: [Mesa-dev] [PATCH] nv50,nvc0: enable using LOAD from constbuf

2017-11-05 Thread Ilia Mirkin
On Sun, Nov 5, 2017 at 1:13 PM, Tobias Klausmann wrote: > > On 11/5/17 4:48 PM, Ilia Mirkin wrote: >> This enables std430-style packing for UBOs which aren't otherwise marked >> as std140. >> >> There might be small register lifetime changes as a result of

Re: [Mesa-dev] [PATCH] nv50,nvc0: enable using LOAD from constbuf

2017-11-05 Thread Tobias Klausmann
On 11/5/17 4:48 PM, Ilia Mirkin wrote: > This enables std430-style packing for UBOs which aren't otherwise marked > as std140. > > There might be small register lifetime changes as a result of removed > duplicate loads in some cases, but this seems worth it overall. A before/after shader-db run

[Mesa-dev] [PATCH] nv50,nvc0: enable using LOAD from constbuf

2017-11-05 Thread Ilia Mirkin
This enables std430-style packing for UBOs which aren't otherwise marked as std140. There might be small register lifetime changes as a result of removed duplicate loads in some cases, but this seems worth it overall. Signed-off-by: Ilia Mirkin ---