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:
@@ -83,6 +83,11 @@ android {
|
||||
}
|
||||
standard {
|
||||
dimension "device"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
abiFilters 'arm64-v8a'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user