diff options
author | Dave Airlie <[email protected]> | 2017-11-16 11:03:22 +1000 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-12-04 10:04:19 -0800 |
commit | 69365d72de7086bf10017ba896e68e3ebdf7b956 (patch) | |
tree | 514654bf43cf14ddd96c0aab540c6a5a172a8a9c /src/amd/vulkan/radv_private.h | |
parent | e12688f365258f6f719983528a2af9b6ca4e25c5 (diff) |
radv/wsi: drop allocate memory special case
Just check if image has scanout flag set
v2 (Jason Ekstrand):
- Rebase
- Also drop the now unused radv_mem_flag_bits enum
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 88ddaf5b9b6..67c20111076 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -106,11 +106,6 @@ enum radv_mem_type { RADV_MEM_TYPE_COUNT }; -enum radv_mem_flags_bits { - /* enable implicit synchronization when accessing the underlying bo */ - RADV_MEM_IMPLICIT_SYNC = 1 << 0, -}; - #define radv_printflike(a, b) __attribute__((__format__(__printf__, a, b))) static inline uint32_t @@ -988,11 +983,6 @@ void radv_cmd_buffer_trace_emit(struct radv_cmd_buffer *cmd_buffer); bool radv_get_memory_fd(struct radv_device *device, struct radv_device_memory *memory, int *pFD); -VkResult radv_alloc_memory(VkDevice _device, - const VkMemoryAllocateInfo* pAllocateInfo, - const VkAllocationCallbacks* pAllocator, - enum radv_mem_flags_bits flags, - VkDeviceMemory* pMem); /* * Takes x,y,z as exact numbers of invocations, instead of blocks. |