mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
anv/device: Use a 4K block size for surface state blocks
We want to start using the surface state block pool for binding tables and binding tables. In order to do this, we need to be able to set surface state base address to the address of a block and surface state base address has a 4K alignment requriement.
This commit is contained in:
parent
737e89bc8d
commit
0e94446b25
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ VkResult anv_CreateDevice(
|
|||
&device->dynamic_state_block_pool);
|
||||
|
||||
anv_block_pool_init(&device->instruction_block_pool, device, 2048);
|
||||
anv_block_pool_init(&device->surface_state_block_pool, device, 2048);
|
||||
anv_block_pool_init(&device->surface_state_block_pool, device, 4096);
|
||||
|
||||
anv_state_pool_init(&device->surface_state_pool,
|
||||
&device->surface_state_block_pool);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue