LearningWebGPU icon indicating copy to clipboard operation
LearningWebGPU copied to clipboard

Can add a sample program for rendering YUV using webgpu?

Open luojinghui opened this issue 1 year ago • 1 comments

The YUV data has been converted into Uint8Array. Next, I want to render it to the canvas through webgpu, but after trying, it fails. Have any good ideas or sample programs?

luojinghui avatar Jun 09 '23 10:06 luojinghui

I have a basic idea that translate the yuv renderer code from webgl to webgpu, like this one: https://github.com/changzhn/render-yuv/blob/master/demo1.html, seems like it's not impossible.

hjlld avatar Jun 14 '23 06:06 hjlld