gpuweb / cts

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

Allow specifying subcase parameters in a query #3763

Open greggman opened 4 weeks ago

greggman commented 4 weeks ago

If I run this test

https://gpuweb.github.io/cts/standalone/?runnow=1&q=unittests:conversion:float32ToFloatBits_floatBitsToNumber:

There are are 8 subcases

INFO: subcase: signed=0;exponentBits=5;mantissaBits=10
INFO: subcase: signed=0;exponentBits=5;mantissaBits=23
INFO: subcase: signed=0;exponentBits=8;mantissaBits=10
INFO: subcase: signed=0;exponentBits=8;mantissaBits=23
INFO: subcase: signed=1;exponentBits=5;mantissaBits=10
INFO: subcase: signed=1;exponentBits=5;mantissaBits=23
INFO: subcase: signed=1;exponentBits=8;mantissaBits=10
INFO: subcase: signed=1;exponentBits=8;mantissaBits=23

It would be nice to be able to select a subcase

...&q=unittests:conversion:float32ToFloatBits_floatBitsToNumber:signed=0;exponentBits=5;mantissaBits=23

That seems just a matter of updating the filtering code? Or does it already exist but just requires a different format?

@kainino0x