We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1b1ae6 commit 0d0ce46Copy full SHA for 0d0ce46
src/webgpu/gpu_test.ts
@@ -535,6 +535,11 @@ export class GPUTestBase extends Fixture<GPUTestSubcaseBatchState> {
535
if (isCompatibilityDevice(this.device)) {
536
this.skip(`texture format '${format}' is not supported`);
537
}
538
+ const feature = getRequiredFeatureForTextureFormat(format);
539
+ this.skipIf(
540
+ !!feature && !this.device.features.has(feature),
541
+ `texture format '${format}' requires feature: '${feature}`
542
+ );
543
544
const feature = getRequiredFeatureForTextureFormat(format);
545
this.skipIf(
0 commit comments