Re: [Mesa-dev] [PATCH] ac/nir: expand 64-bit vec3 loads to fix shuffling.

2018-04-30 Thread Samuel Pitoiset
On 04/30/2018 04:47 AM, Dave Airlie wrote: From: Dave Airlie If loading 64-bit vec3 values, a 4 component load would be followed by a 2 component load and the resulting shuffle would fail as it requires 2 4 components. This just expands the second results vector out to 4 components. This fix

[Mesa-dev] [PATCH] ac/nir: expand 64-bit vec3 loads to fix shuffling.

2018-04-29 Thread Dave Airlie
From: Dave Airlie If loading 64-bit vec3 values, a 4 component load would be followed by a 2 component load and the resulting shuffle would fail as it requires 2 4 components. This just expands the second results vector out to 4 components. This fixes 100 CTS tests: dEQP-VK.spirv_assembly.type.v