Lower instance count on android
This commit is contained in:
parent
79ac92bc3b
commit
565d8f91c5
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue