Closed greggman closed 1 day ago
Note: This test fails in Chrome because of the origin trial for subgroups.
It fails with
WebGPU device failed to initialize with OperationError "Failed to execute 'requestDevice' on 'GPUAdapter': The limit "minSubgroupSize" is not recognized."
I don't think the test should change and I think it should be a high-priority for Chrome not to fail if you request all the limits by copying them
This is what I came up with. Without a major refactor the issue is the adapter is requested at an extremely low level but a test needs access to an adapter to select limits.
So, made
selectDeviceOrSkipTestCase
pass an optional callback all the way down that gets passed the adapter and aCanonicalDeviceDescriptor
, giving it a chance to modify it down at the level where an adapter is available.More of the CTS tests need to be testing with max limits.
Issue: #3363