python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
A way to load .wglsl files in Typescript files using esbuild?
I'm using esbuild as a tool to bundle my Typescript code but i can't find a way to configure a loader for ".wgsl" files.
Mi app.ts file :
import shader from './shader.wgsl';
//webgpu logic
...

Zentyk
Votes: 0
Answers: 3
Is it possible to index dynamically into a WebGPU storage buffer?
I'm trying write a WGSL shader that reads an octree that is stored in a storage buffer. The problem is, the compiler doesn't like the dynamic index I'm calculating to access leaves in the storage buff...
iLoch
Votes: 0
Answers: 1