Skip to content

Commit 0b046ce

Browse files
committed
👷 fix build issues
1 parent 6ae05fb commit 0b046ce

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

public/web-components/shader.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ export async function setupCanvas(
5353
},
5454
})
5555

56-
const uTime = device.createBuffer({
57-
size: [4],
58-
// @ts-ignore
59-
usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
60-
})
56+
const uTime = device.createBuffer({
57+
size: [4],
58+
// @ts-ignore
59+
usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST,
60+
})
6161

6262
let curr = 1
6363

src/content/blog-md/2025/09-11/shader-web-component.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ subtitle: 09 November 2025
44
description: Example of a web component for rendering Web GPU Shaders
55
---
66

7-
import Example from './example.astro'
7+
import Example from './Example.astro'
88

99
So I want to use some more shaders and I want to also migrate everything over to use `wgsl` instead of `glsl` but it's kinda annoying to set them up every time so I made a little web component for using them, this is very much a work-in-progress, but here's it in action:
1010

0 commit comments

Comments
 (0)