diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-04-17 02:14:06 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-04-19 20:37:57 +0200 |
commit | 126d5adb11e18a329e197db8f117b47bba30eeed (patch) | |
tree | 4ed2349891bc078d8db6604b931da7a57d14b4c1 /src/amd/vulkan/radv_private.h | |
parent | 39644fa40a328811feac2821b267f209274dc911 (diff) |
radv: Use host memory pool for non-freeable descriptors.
v2: Handle out of pool memory error.
v3: Actually use VK_ERROR_OUT_OF_POOL_MEMORY_KHR for the error condition.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 0d60aac1069..387edb8f2b4 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -570,6 +570,10 @@ struct radv_descriptor_pool { uint64_t size; struct list_head vram_list; + + uint8_t *host_memory_base; + uint8_t *host_memory_ptr; + uint8_t *host_memory_end; }; struct radv_descriptor_update_template_entry { |