mesa/src/intel/vulkan/tests
Caio Marcelo de Oliveira Filho 09c4037dda 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: dfc9ab2ccd "anv/allocator: Add padding information."
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2019-07-12 22:25:37 -07:00
..
block_pool_grow_first.c anv: Fix pool allocator when first alloc needs to grow 2019-07-12 22:25:37 -07:00
block_pool_no_free.c anv/tests: compile to something sensible in release builds 2019-02-14 12:52:34 +00:00
state_pool.c anv/tests: compile to something sensible in release builds 2019-02-14 12:52:34 +00:00
state_pool_free_list_only.c anv/tests: compile to something sensible in release builds 2019-02-14 12:52:34 +00:00
state_pool_no_free.c anv/tests: compile to something sensible in release builds 2019-02-14 12:52:34 +00:00
state_pool_padding.c anv/tests: compile to something sensible in release builds 2019-02-14 12:52:34 +00:00
state_pool_test_helper.h Move the intel vulkan driver to src/intel/vulkan 2016-02-18 10:37:59 -08:00