cts icon indicating copy to clipboard operation
cts copied to clipboard

skipIfTextureFormatNotUsableAsStorageTexture does not handle bgra8unorm well

Open alan-baker opened this issue 1 year ago • 1 comments

To be used as storage texture, bgra8unorm requires the feature bgra8unorm-storage. This necessitates selecting an appropriate device. However, skipIfTextureFormatNotUsableAsStorageTexture does not consider that feature and filters out the format currently.

The various queries should be updated to take a device so the GPUFeature can be checked. Currently test logic requires not checking the format query if bgra8unorm is used.

alan-baker avatar Jul 08 '24 16:07 alan-baker

This is a case of #3848, however it's fine if we initially fix it ad-hoc.

kainino0x avatar Nov 19 '24 19:11 kainino0x