summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-11-01 23:54:56 +0000
committerDave Airlie <[email protected]>2017-11-02 01:01:29 +0000
commit799ef80059d65f9074b814993b02c37d971e3ae5 (patch)
treea8265f707d291fa9c49bef204ca95eb9fbf290e4 /src/amd/vulkan/radv_private.h
parent6594213cfa332be88551596bf56cf01538339f37 (diff)
radv: make sure we set buffers as shareable properly.
This should make sure we don't treat exports buffers as local bos. Fixes: a639d40f13 (radv: add support for local bos. (v3)) Tested-by: Andres Rodriguez <[email protected]> Reviewed-by: Andres Rodriguez <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 1b1fa93ee3c..8d96bb43236 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -673,6 +673,8 @@ struct radv_buffer {
/* Set when bound */
struct radeon_winsys_bo * bo;
VkDeviceSize offset;
+
+ bool shareable;
};