[Mesa-dev] [PATCH] i965: fix component packing of array with single slot type

Kenneth Graunke kenneth at whitecape.org
Wed Oct 11 00:30:38 UTC 2017


On Tuesday, October 10, 2017 4:57:08 PM PDT Timothy Arceri wrote:
> From: Kenneth Graunke <kenneth at whitecape.org>
> 
> ARB_enhanced_layouts enables us to pack array varyings with
> non-arrays types e.g.
> 
> layout(location = 0) in vec3 a[6];
> layout(location = 0, component = 3) in float b;
> 
> With this change we calculate the size of output registers in a
> separate pass, before allocating them.
> 
> Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
> ---
>  src/intel/compiler/brw_fs_nir.cpp | 23 ++++++++++++++++++-----
>  1 file changed, 18 insertions(+), 5 deletions(-)

I actually sent this out last night, so I pulled your R-b from this
email and pushed the patch.  Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171010/4ebc6cd1/attachment.sig>


More information about the mesa-dev mailing list