diff options
author | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-07-12 14:37:38 -0700 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-07-15 10:28:02 +0000 |
commit | 14a2fba722ae816a22e933f55c83505a99ee428c (patch) | |
tree | 9b229ed84c483fbeae4ef3679d87837d7680b2e3 /.gitlab-ci | |
parent | e4b7aa9e746b2c2150adc62ab1a68ee31dcdc733 (diff) |
anv: Fix pool allocator when first alloc needs to grow
When using softpin, the first allocation was not calculating the
padding and offset correctly for the case the first allocation needed
to grow. We were missing initialize the state.end right after
expanding the pool for the first time.
This is not a problem for non-softpin since there we don't use
leftover padding so the ends would re-arrange incrementally.
This fixes running dEQP-VK.ssbo.phys.layout.random.16bit.scalar.13 in
SKL -- the test uses a shader larger than the initial size for the
instruction pool.
Fixes: dfc9ab2ccd9 "anv/allocator: Add padding information."
Reviewed-by: Rafael Antognolli <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
(cherry picked from commit 09c4037ddada76ad07cca2fd6b46f5451fa55f1b)
Diffstat (limited to '.gitlab-ci')
0 files changed, 0 insertions, 0 deletions