Re: [Mesa-dev] [PATCH 2/2] [rfc] radv: inline push constants where possible. (v2)

2018-01-12 Thread Alex Smith
Looks like it's working fine here now. One comment inline below. On 12 January 2018 at 02:43, Dave Airlie wrote: > From: Dave Airlie > > Instead of putting the push constants into the upload buffer, > if we have space in the sgprs we can upload the per-stage > constants into the shaders directl

[Mesa-dev] [PATCH 2/2] [rfc] radv: inline push constants where possible. (v2)

2018-01-11 Thread Dave Airlie
From: Dave Airlie Instead of putting the push constants into the upload buffer, if we have space in the sgprs we can upload the per-stage constants into the shaders directly. This saves a few reads from memory in the meta shaders, we should also be able to inline other objects like descriptors.