diff options
author | Connor Abbott <[email protected]> | 2017-06-26 15:50:07 -0700 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2017-07-17 14:16:03 -0700 |
commit | 91dd2ca99fee79e110d22f3a238a70a4af789075 (patch) | |
tree | a8ae1fcf9d17071957a02e7ef112668c8b83a0fa /SConstruct | |
parent | 7947d05f840cfbb9b162a279d6eccc9416217e68 (diff) |
ac/nir: rewrite shared variable handling (v2)
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
upcoming Feral title, which has a compute shader that was failing to
compile because the extra padding made us run out of LDS space.
v2: Combine the previous two patches into one, only use this for shared
variables for now until LLVM becomes smarter.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen>
Reviewed-by: Nicolai Hähnle <[email protected]>
Tested-by: Alex Smith <[email protected]>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions