Lower instance count on android

This commit is contained in:
saschawillems 2018-05-11 08:44:18 +02:00
parent 79ac92bc3b
commit 565d8f91c5

View file

@ -28,7 +28,11 @@
#define VERTEX_BUFFER_BIND_ID 0 #define VERTEX_BUFFER_BIND_ID 0
#define INSTANCE_BUFFER_BIND_ID 1 #define INSTANCE_BUFFER_BIND_ID 1
#define ENABLE_VALIDATION false #define ENABLE_VALIDATION false
#if defined(__ANDROID__)
#define INSTANCE_COUNT 4096
#else
#define INSTANCE_COUNT 8192 #define INSTANCE_COUNT 8192
#endif
class VulkanExample : public VulkanExampleBase class VulkanExample : public VulkanExampleBase
{ {