]> zoso.dev Git - libnemo.git/commitdiff
Save some vertical space.
authorChris Duncan <chris@zoso.dev>
Thu, 9 Jan 2025 23:00:00 +0000 (15:00 -0800)
committerChris Duncan <chris@zoso.dev>
Thu, 9 Jan 2025 23:00:00 +0000 (15:00 -0800)
src/lib/nano-pow/classes/gpu.ts

index cf0f2d93a109fe6f3baa5fe21bf89f977d23cd34..686c4c865261abf2ccfabc45da7a68352fa3e9ce 100644 (file)
@@ -70,16 +70,12 @@ export class NanoPowGpu {
                                {
                                        binding: 0,
                                        visibility: GPUShaderStage.COMPUTE,
-                                       buffer: {
-                                               type: 'uniform'
-                                       },
+                                       buffer: { type: 'uniform' },
                                },
                                {
                                        binding: 1,
                                        visibility: GPUShaderStage.COMPUTE,
-                                       buffer: {
-                                               type: 'storage'
-                                       },
+                                       buffer: { type: 'storage' },
                                }
                        ]
                })