From b955f351f01cf7395f29edf31f864e9a4e99c64a Mon Sep 17 00:00:00 2001
From: "yuan.tian" <yuan.tian@nxp.com>
Date: Tue, 15 Dec 2020 15:07:42 +0800
Subject: [PATCH] Modify parameter in vulkan demo computenbody.

Decrease the number of particles to reduce rendering workload.

Upstream-Status: Inappropriate [i.MX-specific]
---
 examples/computenbody/computenbody.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/computenbody/computenbody.cpp b/examples/computenbody/computenbody.cpp
index 84d1c278..0837d424 100644
--- a/examples/computenbody/computenbody.cpp
+++ b/examples/computenbody/computenbody.cpp
@@ -14,7 +14,7 @@
 // Lower particle count on Android for performance reasons
 #define PARTICLES_PER_ATTRACTOR 3 * 1024
 #else
-#define PARTICLES_PER_ATTRACTOR 4 * 1024
+#define PARTICLES_PER_ATTRACTOR 4 * 64
 #endif
 
 class VulkanExample : public VulkanExampleBase
@@ -902,4 +902,4 @@ public:
 	}
 };
 
-VULKAN_EXAMPLE_MAIN()
\ No newline at end of file
+VULKAN_EXAMPLE_MAIN()
-- 
2.17.1

