26 lines
909 B
Diff
26 lines
909 B
Diff
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(-)
|
|
|
|
Index: git/examples/computenbody/computenbody.cpp
|
|
===================================================================
|
|
--- git.orig/examples/computenbody/computenbody.cpp
|
|
+++ git/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
|