Re: [Mesa-dev] [PATCH] ac/nir: rewrite shared variable handling (v2)

2017-07-17 Thread Connor Abbott
Pushed! On Thu, Jul 13, 2017 at 3:39 PM, Connor Abbott wrote: > From: Connor Abbott > > Translate the NIR variables directly to LLVM instead of lowering to a > TGSI-style giant array of vec4's and then back to a variable. This > should fix indirect dereferences, make shared variables more tightl

Re: [Mesa-dev] [PATCH] ac/nir: rewrite shared variable handling (v2)

2017-07-16 Thread Nicolai Hähnle
On 14.07.2017 00:39, Connor Abbott wrote: From: Connor Abbott Translate the NIR variables directly to LLVM instead of lowering to a TGSI-style giant array of vec4's and then back to a variable. This should fix indirect dereferences, make shared variables more tightly packed, and make LLVM's ali

Re: [Mesa-dev] [PATCH] ac/nir: rewrite shared variable handling (v2)

2017-07-14 Thread Alex Smith
On 13 July 2017 at 23:39, Connor Abbott wrote: > From: Connor Abbott > > Translate the NIR variables directly to LLVM instead of lowering to a > TGSI-style giant array of vec4's and then back to a variable. This > should fix indirect dereferences, make shared variables more tightly > packed, and

[Mesa-dev] [PATCH] ac/nir: rewrite shared variable handling (v2)

2017-07-13 Thread Connor Abbott
From: Connor Abbott Translate the NIR variables directly to LLVM instead of lowering to a TGSI-style giant array of vec4's and then back to a variable. This should fix indirect dereferences, make shared variables more tightly packed, and make LLVM's alias analysis more precise. This should fix an