Can add a sample program for rendering YUV using webgpu?
luojinghui opened this issue · 1 comments
luojinghui commented
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?
hjlld commented
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.