summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/Makefile.sources
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-01-04 18:38:32 +0100
committerBas Nieuwenhuizen <[email protected]>2018-01-19 01:43:55 +0100
commitb1444c9ccb06661d932969302d19166df442818c (patch)
tree030cbb2059debe66b295183776ce4676cbeab0f8 /src/amd/vulkan/Makefile.sources
parenta3e241ed07feae592d1fd83db388252816a32849 (diff)
radv: Implement VK_ANDROID_native_buffer.
Passes dEQP-VK.api.smoke.* dEQP-VK.wsi.android.* with android-cts-7.1_r12 . Unlike the initial anv implementation this does use syncobjs instead of waiting on the CPU. This is missing meson build coverage for now. One possible todo is that linux 4.15 now has a sycall that allows us to export amdgpu fence to a sync_file, which allows us not to force all fences and semaphores to use syncobjs. However, I had trouble with my kernel crashing regularly with NULL pointers, and I'm not sure how beneficial it is in the first place given that intel uses syncobjs for all fences if available. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/Makefile.sources')
-rw-r--r--src/amd/vulkan/Makefile.sources3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/Makefile.sources b/src/amd/vulkan/Makefile.sources
index c9d172c3b1b..a510d88d965 100644
--- a/src/amd/vulkan/Makefile.sources
+++ b/src/amd/vulkan/Makefile.sources
@@ -69,6 +69,9 @@ VULKAN_FILES := \
vk_format.h \
$(RADV_WS_AMDGPU_FILES)
+VULKAN_ANDROID_FILES := \
+ radv_android.c
+
VULKAN_WSI_WAYLAND_FILES := \
radv_wsi_wayland.c