+ three.js
+ This example demonstrates a bitonic sort running step by step in a compute shader.
+ The left canvas swaps values within workgroup local arrays. The right swaps values within storage buffers.
+ Reference implementation by Tim Gfrerer
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
From 2bb47f9fa038f93781b2f61126d8639ca907d5a2 Mon Sep 17 00:00:00 2001
From: Christian Helgeson <62450112+cmhhelgeson@users.noreply.github.com>
Date: Sat, 9 Nov 2024 16:17:28 -0800
Subject: [PATCH 2/9] trying to get render to output
---
examples/files.json | 1 +
examples/webgpu_compute_prefix_sum.html | 443 ++++--------------------
2 files changed, 67 insertions(+), 377 deletions(-)
diff --git a/examples/files.json b/examples/files.json
index bd549c1a22bf01..e44c80cefa0695 100644
--- a/examples/files.json
+++ b/examples/files.json
@@ -312,6 +312,7 @@
"webgpu_compute_particles_rain",
"webgpu_compute_particles_snow",
"webgpu_compute_points",
+ "webgpu_compute_prefix_sum",
"webgpu_compute_sort_bitonic",
"webgpu_compute_texture",
"webgpu_compute_texture_pingpong",
diff --git a/examples/webgpu_compute_prefix_sum.html b/examples/webgpu_compute_prefix_sum.html
index c9a6d330c526fa..d3b8b4654b3a7c 100644
--- a/examples/webgpu_compute_prefix_sum.html
+++ b/examples/webgpu_compute_prefix_sum.html
@@ -54,28 +54,14 @@