Re: [Mesa-dev] [PATCH 1/2] gallium: allow 512-bit vectors

2017-10-11 Thread Roland Scheidegger
This looks alright to me. There's quite a few places where this will increase the memory requirements a bit but there's no way around it (well unless deciding at runtime alignments/allocations, but it's probably not worth the trouble). Reviewed-by: Roland Scheidegger Am 11.10.2017 um 17:50 schri

Re: [Mesa-dev] [PATCH 1/2] gallium: allow 512-bit vectors

2017-10-11 Thread Jose Fonseca
On 11/10/17 16:50, Tim Rowley wrote: Increase the max allowed vector size from 256 to 512. No piglit llvmpipe regressions running on avx2. Cc: Dave Airlie Cc: Jose Fonseca --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 14 +++--- src/gallium/auxiliary/gallivm/lp_bld_type.h

[Mesa-dev] [PATCH 1/2] gallium: allow 512-bit vectors

2017-10-11 Thread Tim Rowley
Increase the max allowed vector size from 256 to 512. No piglit llvmpipe regressions running on avx2. Cc: Dave Airlie Cc: Jose Fonseca --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 14 +++--- src/gallium/auxiliary/gallivm/lp_bld_type.h | 4 ++-- 2 files changed, 9 insertio