gpuweb / cts

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

Add canvas tests for RGBA16Float values with regard to SDR luminance #1093

Open jchen10 opened 2 years ago

jchen10 commented 2 years ago
kainino0x commented 5 months ago

Note for anyone who ends up looking into this test: the spec has been a bit in flux here, so be sure to check the latest state of the spec and open PRs first (https://github.com/gpuweb/gpuweb/pull/4500, https://github.com/gpuweb/gpuweb/pull/4526, etc.)

ALSO: note that the harnesses for running reftests in each browser most likely will not capture HDR values, and will clamp them to SDR. This may also be true of WCG (depending on whether reftests are checked in sRGB or in the color space of the display). So for robust testing, each browser may need its own tests.