summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorFredrik Höglund <[email protected]>2018-01-25 18:12:14 +0100
committerFredrik Höglund <[email protected]>2018-02-08 00:46:07 +0100
commit5a38d8f1036b949e442359f691956b48b32b0e30 (patch)
tree284ff293afd3e97137c6c487e7715209902d8293 /src/amd/vulkan/radv_private.h
parent5dd385f378a7e264f79ce2004aef815b3d9e3388 (diff)
radv: implement VK_EXT_external_memory_host
Ported from the radeonsi GL_AMD_pinned_memory implementation. Signed-off-by: Fredrik Höglund <[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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 42f23a3cd66..be9e8f43964 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -646,6 +646,7 @@ struct radv_device_memory {
uint32_t type_index;
VkDeviceSize map_size;
void * map;
+ void * user_ptr;
};