gpuweb / cts

WebGPU Conformance Test Suite
https://gpuweb.github.io/cts/
BSD 3-Clause "New" or "Revised" License
128 stars 80 forks source link

copyToTexture needs to cover partially-transparent content source. #3668

Open shaoboyan opened 5 months ago

shaoboyan commented 5 months ago

Current cts generates non-transparent contents to avoid avoid canvas different opt behaviour on putImageData() from browsers. So we lose the coverage for partially-transparent and total transparent content.

And other source type lacks partially-transparent cover too. E.g. canvas, video, ImageData.