Skip to content

Commit 1081d77

Browse files
Bashamegasaschanaz
andauthored
Migrate GPU related removed types to kdl (#2273)
Co-authored-by: saschanaz <saschanaz@users.noreply.github.com>
1 parent 3bcfc1d commit 1081d77

File tree

2 files changed

+41
-52
lines changed

2 files changed

+41
-52
lines changed

inputfiles/patches/webgpu.kdl

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
removals {
2+
enum GPUBlendFactor {
3+
one-minus-src1 // Blink only as of 2024-11
4+
one-minus-src1-alpha // Blink only as of 2024-11
5+
src1 // Blink only as of 2024-11
6+
src1-alpha // Blink only as of 2024-11
7+
}
8+
9+
enum GPUFeatureName {
10+
clip-distances // Blink only as of 2024-11
11+
dual-source-blending // Blink only as of 2024-11
12+
float32-blendable // Blink only as of 2024-11
13+
texture-compression-astc-sliced-3d // No implementation as of 2024-11
14+
texture-compression-bc-sliced-3d // No implementation as of 2024-11
15+
}
16+
17+
enum GPUVertexFormat {
18+
float16 // Blink only as of 2024-11
19+
sint16 // Blink only as of 2024-11
20+
sint8 // Blink only as of 2024-11
21+
snorm16 // Blink only as of 2024-11
22+
snorm8 // Blink only as of 2024-11
23+
uint16 // Blink only as of 2024-11
24+
uint8 // Blink only as of 2024-11
25+
unorm16 // Blink only as of 2024-11
26+
unorm8 // Blink only as of 2024-11
27+
unorm8x4-bgra // Blink only as of 2024-11
28+
}
29+
30+
dictionary GPURequestAdapterOptions {
31+
member featureLevel // Blink experimental only as of 2024-11
32+
}
33+
34+
dictionary GPUShaderModuleDescriptor {
35+
member compilationHints // Blink only as of 2024-11
36+
}
37+
38+
dictionary GPUTextureViewDescriptor {
39+
member usage // Blink only as of 2024-11
40+
}
41+
}

inputfiles/removedTypes.jsonc

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,6 @@
1616
"ConnectionType": {
1717
"value": ["wimax"]
1818
},
19-
"GPUBlendFactor": {
20-
"value": [
21-
"one-minus-src1", // Blink only as of 2024-11
22-
"one-minus-src1-alpha", // Blink only as of 2024-11
23-
"src1", // Blink only as of 2024-11
24-
"src1-alpha" // Blink only as of 2024-11
25-
]
26-
},
27-
"GPUFeatureName": {
28-
"value": [
29-
"clip-distances", // Blink only as of 2024-11
30-
"dual-source-blending", // Blink only as of 2024-11
31-
"float32-blendable", // Blink only as of 2024-11
32-
"texture-compression-astc-sliced-3d", // No implementation as of 2024-11
33-
"texture-compression-bc-sliced-3d" // No implementation as of 2024-11
34-
]
35-
},
36-
"GPUVertexFormat": {
37-
"value": [
38-
"float16", // Blink only as of 2024-11
39-
"sint16", // Blink only as of 2024-11
40-
"sint8", // Blink only as of 2024-11
41-
"snorm16", // Blink only as of 2024-11
42-
"snorm8", // Blink only as of 2024-11
43-
"uint16", // Blink only as of 2024-11
44-
"uint8", // Blink only as of 2024-11
45-
"unorm16", // Blink only as of 2024-11
46-
"unorm8", // Blink only as of 2024-11
47-
"unorm8x4-bgra" // Blink only as of 2024-11
48-
]
49-
},
5019
"KeyFormat": {
5120
"value": [
5221
"raw-private", // No implementation as of 2025-09
@@ -338,27 +307,6 @@
338307
}
339308
}
340309
},
341-
"GPURequestAdapterOptions": {
342-
"members": {
343-
"member": {
344-
"featureLevel": null // Blink experimental only as of 2024-11
345-
}
346-
}
347-
},
348-
"GPUShaderModuleDescriptor": {
349-
"members": {
350-
"member": {
351-
"compilationHints": null // Blink only as of 2024-11
352-
}
353-
}
354-
},
355-
"GPUTextureViewDescriptor": {
356-
"members": {
357-
"member": {
358-
"usage": null // Blink only as of 2024-11
359-
}
360-
}
361-
},
362310
"ImageDataSettings": {
363311
"members": {
364312
"member": {

0 commit comments

Comments
 (0)