Restrict Android build to arm64-v8a

Our code relies on vulkan handles being different types, and this is not
true on 32bits architectures.
This commit is contained in:
Patrick Nicolas
2023-07-25 20:03:51 +02:00
committed by xytovl
parent 2df008d229
commit aa89543fec
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -83,6 +83,11 @@ android {
}
standard {
dimension "device"
externalNativeBuild {
cmake {
abiFilters 'arm64-v8a'
}
}
}
}
+2
View File
@@ -22,6 +22,8 @@
#include "utils/handle.h"
#include <vulkan/vulkan.h>
static_assert(not std::is_same_v<VkImage, VkBuffer>, "vulkan handles need to be different types");
namespace vk
{
class device_memory : public utils::handle<VkDeviceMemory>