gpuweb / cts

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

web_platform: copyEI2T with a source rectangle OOB with the source #2365

Open Kangz opened 1 year ago

Kangz commented 1 year ago

CopyExternalImageToTexture validated that the source rectangle is in bounds on the content timeline and produces an OperationError if it isn't. It should be tested, probably with various source types to make sure the size is correctly computed for each type of source.

shaoboyan commented 1 year ago

I think we have cts to cover source oob https://github.com/gpuweb/cts/blob/main/src/webgpu/api/validation/queue/copyToTexture/CopyExternalImageToTexture.spec.ts#L53