webgpu-samples
webgpu-samples copied to clipboard
Add a mipmap generation example.
For example based on this code.
I also should actually update things to use copyImageBitmapToTexture
instead of the CPU readback and B2T copy. @kvark is copyImageBitmapToTexture
implemented in Firefox or will I need to polyfill with writeTexture
?
writeTexture
is in, copyImageBitmapToTexture
is not