This is some simple code for setting up uniforms and a fullscreen quad shader in webgpu. (check warnings down below before using this)
don't use vec3 variables in the uniforms. it currently has some bugs. use a vec4 instead.
Clone this repo and npm install.
npm i
npm run dev
npm run build