diff --git a/src/webgpu/listing_meta.json b/src/webgpu/listing_meta.json index 6b3e8a361e3d..ce8fb3a2bcb4 100644 --- a/src/webgpu/listing_meta.json +++ b/src/webgpu/listing_meta.json @@ -2284,14 +2284,12 @@ "webgpu:shader,validation,expression,call,builtin,quadBroadcast:id_values:*": { "subcaseMS": 7.315 }, "webgpu:shader,validation,expression,call,builtin,quadBroadcast:must_use:*": { "subcaseMS": 41.658 }, "webgpu:shader,validation,expression,call,builtin,quadBroadcast:requires_subgroups:*": { "subcaseMS": 42.565 }, - "webgpu:shader,validation,expression,call,builtin,quadBroadcast:requires_subgroups_f16:*": { "subcaseMS": 44.998 }, "webgpu:shader,validation,expression,call,builtin,quadBroadcast:return_type:*": { "subcaseMS": 363.607 }, "webgpu:shader,validation,expression,call,builtin,quadBroadcast:stage:*": { "subcaseMS": 3.050 }, "webgpu:shader,validation,expression,call,builtin,quadSwap:data_type:*": { "subcaseMS": 89.379 }, "webgpu:shader,validation,expression,call,builtin,quadSwap:early_eval:*": { "subcaseMS": 108.243 }, "webgpu:shader,validation,expression,call,builtin,quadSwap:must_use:*": { "subcaseMS": 5.557 }, "webgpu:shader,validation,expression,call,builtin,quadSwap:requires_subgroups:*": { "subcaseMS": 113.624 }, - "webgpu:shader,validation,expression,call,builtin,quadSwap:requires_subgroups_f16:*": { "subcaseMS": 12.712 }, "webgpu:shader,validation,expression,call,builtin,quadSwap:return_type:*": { "subcaseMS": 1424.551 }, "webgpu:shader,validation,expression,call,builtin,quadSwap:stage:*": { "subcaseMS": 7.664 }, "webgpu:shader,validation,expression,call,builtin,quantizeToF16:args:*": { "subcaseMS": 1.000 }, @@ -2377,14 +2375,12 @@ "webgpu:shader,validation,expression,call,builtin,subgroupBroadcast:id_values:*": { "subcaseMS": 7.763 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcast:must_use:*": { "subcaseMS": 232.030 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcast:requires_subgroups:*": { "subcaseMS": 47.231 }, - "webgpu:shader,validation,expression,call,builtin,subgroupBroadcast:requires_subgroups_f16:*": { "subcaseMS": 38.503 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcast:return_type:*": { "subcaseMS": 496.031 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcast:stage:*": { "subcaseMS": 3.715 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcastFirst:data_type:*": { "subcaseMS": 32.168 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcastFirst:early_eval:*": { "subcaseMS": 57.922 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcastFirst:must_use:*": { "subcaseMS": 36.296 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcastFirst:requires_subgroups:*": { "subcaseMS": 42.522 }, - "webgpu:shader,validation,expression,call,builtin,subgroupBroadcastFirst:requires_subgroups_f16:*": { "subcaseMS": 47.111 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcastFirst:return_type:*": { "subcaseMS": 402.558 }, "webgpu:shader,validation,expression,call,builtin,subgroupBroadcastFirst:stage:*": { "subcaseMS": 2.869 }, "webgpu:shader,validation,expression,call,builtin,subgroupElect:data_type:*": { "subcaseMS": 72.441 }, @@ -2397,7 +2393,6 @@ "webgpu:shader,validation,expression,call,builtin,subgroupMinMax:early_eval:*": { "subcaseMS": 551.671 }, "webgpu:shader,validation,expression,call,builtin,subgroupMinMax:must_use:*": { "subcaseMS": 4.403 }, "webgpu:shader,validation,expression,call,builtin,subgroupMinMax:requires_subgroups:*": { "subcaseMS": 87.208 }, - "webgpu:shader,validation,expression,call,builtin,subgroupMinMax:requires_subgroups_f16:*": { "subcaseMS": 25.190 }, "webgpu:shader,validation,expression,call,builtin,subgroupMinMax:return_type:*": { "subcaseMS": 911.454 }, "webgpu:shader,validation,expression,call,builtin,subgroupMinMax:stage:*": { "subcaseMS": 6.395 }, "webgpu:shader,validation,expression,call,builtin,subgroupMul:data_type:*": { "subcaseMS": 45.396 }, @@ -2412,7 +2407,6 @@ "webgpu:shader,validation,expression,call,builtin,subgroupShuffle:param2_early_eval:*": { "subcaseMS": 133.389 }, "webgpu:shader,validation,expression,call,builtin,subgroupShuffle:param2_type:*": { "subcaseMS": 88.305 }, "webgpu:shader,validation,expression,call,builtin,subgroupShuffle:requires_subgroups:*": { "subcaseMS": 102.779 }, - "webgpu:shader,validation,expression,call,builtin,subgroupShuffle:requires_subgroups_f16:*": { "subcaseMS": 13.121 }, "webgpu:shader,validation,expression,call,builtin,subgroupShuffle:return_type:*": { "subcaseMS": 1930.309 }, "webgpu:shader,validation,expression,call,builtin,subgroupShuffle:stage:*": { "subcaseMS": 9.527 }, "webgpu:shader,validation,expression,call,builtin,tan:args:*": { "subcaseMS": 43.560 }, diff --git a/src/webgpu/shader/validation/expression/call/builtin/quadBroadcast.spec.ts b/src/webgpu/shader/validation/expression/call/builtin/quadBroadcast.spec.ts index f96d46aad7d7..80b1c2a38a69 100644 --- a/src/webgpu/shader/validation/expression/call/builtin/quadBroadcast.spec.ts +++ b/src/webgpu/shader/validation/expression/call/builtin/quadBroadcast.spec.ts @@ -30,28 +30,6 @@ fn foo() { t.expectCompileResult(t.params.enable, wgsl); }); -g.test('requires_subgroups_f16') - .desc('Validates that the subgroups feature is required') - .params(u => u.combine('enable', [false, true] as const)) - .beforeAllSubcases(t => { - const features: GPUFeatureName[] = ['shader-f16', 'subgroups' as GPUFeatureName]; - if (t.params.enable) { - features.push('subgroups-f16' as GPUFeatureName); - } - t.selectDeviceOrSkipTestCase(features); - }) - .fn(t => { - const wgsl = ` -enable f16; -enable subgroups; -${t.params.enable ? 'enable subgroups_f16;' : ''} -fn foo() { - _ = quadBroadcast(0h, 0); -}`; - - t.expectCompileResult(t.params.enable, wgsl); - }); - const kArgumentTypes = objectsToRecord(kAllScalarsAndVectors); const kStages: Record = { diff --git a/src/webgpu/shader/validation/expression/call/builtin/quadSwap.spec.ts b/src/webgpu/shader/validation/expression/call/builtin/quadSwap.spec.ts index 3812ba057ed6..af5c397c52ae 100644 --- a/src/webgpu/shader/validation/expression/call/builtin/quadSwap.spec.ts +++ b/src/webgpu/shader/validation/expression/call/builtin/quadSwap.spec.ts @@ -32,28 +32,6 @@ fn foo() { t.expectCompileResult(t.params.enable, wgsl); }); -g.test('requires_subgroups_f16') - .desc('Validates that the subgroups feature is required') - .params(u => u.combine('enable', [false, true] as const).combine('op', kOps)) - .beforeAllSubcases(t => { - const features: GPUFeatureName[] = ['shader-f16', 'subgroups' as GPUFeatureName]; - if (t.params.enable) { - features.push('subgroups-f16' as GPUFeatureName); - } - t.selectDeviceOrSkipTestCase(features); - }) - .fn(t => { - const wgsl = ` -enable f16; -enable subgroups; -${t.params.enable ? 'enable subgroups_f16;' : ''} -fn foo() { - _ = ${t.params.op}(0h); -}`; - - t.expectCompileResult(t.params.enable, wgsl); - }); - const kStages: Record string> = { constant: (op: string) => { return ` diff --git a/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcast.spec.ts b/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcast.spec.ts index 33e5fd8622af..5feef1d2811b 100644 --- a/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcast.spec.ts +++ b/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcast.spec.ts @@ -30,28 +30,6 @@ fn foo() { t.expectCompileResult(t.params.enable, wgsl); }); -g.test('requires_subgroups_f16') - .desc('Validates that the subgroups feature is required') - .params(u => u.combine('enable', [false, true] as const)) - .beforeAllSubcases(t => { - const features: GPUFeatureName[] = ['shader-f16', 'subgroups' as GPUFeatureName]; - if (t.params.enable) { - features.push('subgroups-f16' as GPUFeatureName); - } - t.selectDeviceOrSkipTestCase(features); - }) - .fn(t => { - const wgsl = ` -enable f16; -enable subgroups; -${t.params.enable ? 'enable subgroups_f16;' : ''} -fn foo() { - _ = subgroupBroadcast(0h, 0); -}`; - - t.expectCompileResult(t.params.enable, wgsl); - }); - const kArgumentTypes = objectsToRecord(kAllScalarsAndVectors); const kStages: Record = { diff --git a/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcastFirst.spec.ts b/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcastFirst.spec.ts index 4525b6b97ef8..6f35c3350e04 100644 --- a/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcastFirst.spec.ts +++ b/src/webgpu/shader/validation/expression/call/builtin/subgroupBroadcastFirst.spec.ts @@ -25,28 +25,6 @@ fn foo() { t.expectCompileResult(t.params.enable, wgsl); }); -g.test('requires_subgroups_f16') - .desc('Validates that the subgroups feature is required') - .params(u => u.combine('enable', [false, true] as const)) - .beforeAllSubcases(t => { - const features: GPUFeatureName[] = ['shader-f16', 'subgroups' as GPUFeatureName]; - if (t.params.enable) { - features.push('subgroups-f16' as GPUFeatureName); - } - t.selectDeviceOrSkipTestCase(features); - }) - .fn(t => { - const wgsl = ` -enable f16; -enable subgroups; -${t.params.enable ? 'enable subgroups_f16;' : ''} -fn foo() { - _ = subgroupBroadcastFirst(0h); -}`; - - t.expectCompileResult(t.params.enable, wgsl); - }); - const kArgumentTypes = objectsToRecord(kAllScalarsAndVectors); const kStages: Record = { diff --git a/src/webgpu/shader/validation/expression/call/builtin/subgroupMinMax.spec.ts b/src/webgpu/shader/validation/expression/call/builtin/subgroupMinMax.spec.ts index 84c1860019ee..566fdc665ecc 100644 --- a/src/webgpu/shader/validation/expression/call/builtin/subgroupMinMax.spec.ts +++ b/src/webgpu/shader/validation/expression/call/builtin/subgroupMinMax.spec.ts @@ -32,28 +32,6 @@ fn foo() { t.expectCompileResult(t.params.enable, wgsl); }); -g.test('requires_subgroups_f16') - .desc('Validates that the subgroups feature is required') - .params(u => u.combine('enable', [false, true] as const).combine('op', kOps)) - .beforeAllSubcases(t => { - const features: GPUFeatureName[] = ['shader-f16', 'subgroups' as GPUFeatureName]; - if (t.params.enable) { - features.push('subgroups-f16' as GPUFeatureName); - } - t.selectDeviceOrSkipTestCase(features); - }) - .fn(t => { - const wgsl = ` -enable f16; -enable subgroups; -${t.params.enable ? 'enable subgroups_f16;' : ''} -fn foo() { - _ = ${t.params.op}(0h); -}`; - - t.expectCompileResult(t.params.enable, wgsl); - }); - const kStages: Record string> = { constant: (op: string) => { return ` diff --git a/src/webgpu/shader/validation/expression/call/builtin/subgroupShuffle.spec.ts b/src/webgpu/shader/validation/expression/call/builtin/subgroupShuffle.spec.ts index b46f90c545b4..4f14503d579d 100644 --- a/src/webgpu/shader/validation/expression/call/builtin/subgroupShuffle.spec.ts +++ b/src/webgpu/shader/validation/expression/call/builtin/subgroupShuffle.spec.ts @@ -37,28 +37,6 @@ fn foo() { t.expectCompileResult(t.params.enable, wgsl); }); -g.test('requires_subgroups_f16') - .desc('Validates that the subgroups feature is required') - .params(u => u.combine('enable', [false, true] as const).combine('op', kOps)) - .beforeAllSubcases(t => { - const features: GPUFeatureName[] = ['shader-f16', 'subgroups' as GPUFeatureName]; - if (t.params.enable) { - features.push('subgroups-f16' as GPUFeatureName); - } - t.selectDeviceOrSkipTestCase(features); - }) - .fn(t => { - const wgsl = ` -enable f16; -enable subgroups; -${t.params.enable ? 'enable subgroups_f16;' : ''} -fn foo() { - _ = ${t.params.op}(0h, 0); -}`; - - t.expectCompileResult(t.params.enable, wgsl); - }); - const kStages: Record string> = { constant: (op: string) => { return `