[Mesa-dev] [PATCH] i965: fix component packing of array with single slot type
Timothy Arceri
tarceri at itsqueeze.com
Wed Oct 11 02:37:03 UTC 2017
On 11/10/17 11:30, Kenneth Graunke wrote:
> 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!
>
I looked for it but didn't see it :( All good.
More information about the mesa-dev
mailing list