summaryrefslogtreecommitdiff
path: root/src/effects/particle_compute.wgsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/effects/particle_compute.wgsl')
-rw-r--r--src/effects/particle_compute.wgsl8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/effects/particle_compute.wgsl b/src/effects/particle_compute.wgsl
index f3e8051..148a2c3 100644
--- a/src/effects/particle_compute.wgsl
+++ b/src/effects/particle_compute.wgsl
@@ -1,11 +1,5 @@
// Particle simulation (compute shader) - V2
-struct Particle {
- pos: vec4f,
- vel: vec4f,
- rot: vec4f,
- color: vec4f,
-};
-
+#include "particle_common"
#include "sequence_uniforms"
@group(0) @binding(0) var<storage, read_write> particles: array<Particle>;