projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
955127d
)
anv: Drop the instruction pool block size
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 26 Apr 2017 14:21:58 +0000
(07:21 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 5 May 2017 02:07:54 +0000
(19:07 -0700)
Now that we can allocate states larger than the block size, we no longer
need a block size of 1MB which can be rather wasteful.
Reviewed-by: Juan A. Suarez Romero <jasuarez@igalia.com>
src/intel/vulkan/anv_device.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_device.c
b/src/intel/vulkan/anv_device.c
index 0773f5f9a54363f003d12e3ef491761d54a499a4..5e4a62ba57504e2b16f1396f50bc2603498e33a0 100644
(file)
--- a/
src/intel/vulkan/anv_device.c
+++ b/
src/intel/vulkan/anv_device.c
@@
-1113,8
+1113,7
@@
VkResult anv_CreateDevice(
if (result != VK_SUCCESS)
goto fail_bo_cache;
- result = anv_state_pool_init(&device->instruction_state_pool, device,
- 1024 * 1024);
+ result = anv_state_pool_init(&device->instruction_state_pool, device, 16384);
if (result != VK_SUCCESS)
goto fail_dynamic_state_pool;