projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
anv/allocator: Add a start_offset to anv_state_pool
[mesa.git]
/
src
/
intel
/
vulkan
/
tests
/
state_pool_padding.c
diff --git
a/src/intel/vulkan/tests/state_pool_padding.c
b/src/intel/vulkan/tests/state_pool_padding.c
index bcd4c47fd69ec3d54aad3b01155d3b6085ad890f..07ea41802a8173d53bc03bfbff033adbd4a993fd 100644
(file)
--- a/
src/intel/vulkan/tests/state_pool_padding.c
+++ b/
src/intel/vulkan/tests/state_pool_padding.c
@@
-37,7
+37,7
@@
int main(int argc, char **argv)
pthread_mutex_init(&device.mutex, NULL);
anv_bo_cache_init(&device.bo_cache);
pthread_mutex_init(&device.mutex, NULL);
anv_bo_cache_init(&device.bo_cache);
- anv_state_pool_init(&state_pool, &device, 4096, 4096);
+ anv_state_pool_init(&state_pool, &device, 4096,
0,
4096);
/* Get the size of the underlying block_pool */
struct anv_block_pool *bp = &state_pool.block_pool;
/* Get the size of the underlying block_pool */
struct anv_block_pool *bp = &state_pool.block_pool;