]> zoso.dev Git - nano-pow.git/commitdiff
Fix duplicate constant declaration from branch merge. Add notes to benchmarks sheet...
authorChris Duncan <chris@zoso.dev>
Sat, 1 Mar 2025 06:29:49 +0000 (22:29 -0800)
committerChris Duncan <chris@zoso.dev>
Sat, 1 Mar 2025 06:29:49 +0000 (22:29 -0800)
benchmarks.md
src/shaders/compute.wgsl

index 660fb73f3b9d5a6ecb4e52ecd517e907d2858fd5..a22896b8cc5c0d46929052f8356dcb484147c29b 100644 (file)
@@ -10,6 +10,10 @@ _Each test is 128 samples of one pass (dispatch or frame) at zero threshold with
 - Safari WebGPU performance was maintained between versions
 - WebGL downsampling shader minimized readback lag and thus enabled much larger frames
 - WebGPU improved dramatically on non-mobile platforms, almost halving frame times
+- Maximum WebGL canvas size varies
+  - Safari only supports up to 4096x4096
+  - Chromium supports up to 5760x5760
+  - Firefox supports up to a whopping 8192x8192 which actually makes it competitive with WebGPU
 
 
 ## All Results
index 18bf76f17179c57d51b7353e6e8a72ce82ab1f02..49cae713a6cc1ac0a4705b750508b22a54460914 100644 (file)
@@ -27,13 +27,6 @@ struct WORK {
 */
 const BLAKE2B_IV_0 = vec2(0xF2BDC900u, 0x6A09E667u);
 
-/**
-* Numeric literal used in the finalization digest is the original value of the
-* first element of the initialization vector `blake2b_IV[0]` which in NanoPow
-* is initialized at vector component `v01.y`.
-*/
-const BLAKE2B_IV_0 = vec2(0xF2BDC900u, 0x6A09E667u);
-
 /**
 * Used to fill partial `m` vec4 constructions.
 */