Skip to content

Commit f24da64

Browse files
Chrome 146 WebGPU texture transient_attachment usage (#29470)
* Document transient_attachment usage * Update api/GPUDevice.json Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> * Update api/GPUTexture.json Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> * Update api/GPUTexture.json Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> * 2nd round of review fixes * Update api/GPUDevice.json Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> --------- Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
1 parent 7bb620d commit f24da64

2 files changed

Lines changed: 197 additions & 0 deletions

File tree

api/GPUDevice.json

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1975,6 +1975,117 @@
19751975
"deprecated": false
19761976
}
19771977
},
1978+
"descriptor_usage_parameter": {
1979+
"__compat": {
1980+
"description": "`usage` descriptor",
1981+
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputexturedescriptor-usage",
1982+
"tags": [
1983+
"web-features:webgpu"
1984+
],
1985+
"support": {
1986+
"chrome": {
1987+
"version_added": "113",
1988+
"partial_implementation": true,
1989+
"notes": [
1990+
"Supported on ChromeOS, macOS, and Windows.",
1991+
"Supported on Linux (Intel Gen12+ GPUs only) since Chrome 144."
1992+
]
1993+
},
1994+
"chrome_android": {
1995+
"version_added": "121"
1996+
},
1997+
"deno": [
1998+
{
1999+
"version_added": "1.39",
2000+
"flags": [
2001+
{
2002+
"type": "runtime_flag",
2003+
"name": "--unstable-webgpu"
2004+
}
2005+
]
2006+
},
2007+
{
2008+
"version_added": "1.8",
2009+
"version_removed": "1.32"
2010+
}
2011+
],
2012+
"edge": "mirror",
2013+
"firefox": {
2014+
"version_added": "141",
2015+
"partial_implementation": true,
2016+
"notes": [
2017+
"Supports all contexts except service workers. See [bug 1942431](https://bugzil.la/1942431).",
2018+
"Supports Windows since Firefox 141. See [bug 1972486](https://bugzil.la/1972486).",
2019+
"Supports macOS Tahoe on Apple silicon since Firefox 145. See [bug 1992212](https://bugzil.la/1992212).",
2020+
"Supports older macOS versions on Apple silicon since Firefox 147. See [bug 1993341](https://bugzil.la/1993341).",
2021+
"Does not support macOS on Intel CPUs. See [bug 2004105](https://bugzil.la/2004105).",
2022+
"Does not support Linux. See [bug 2006676](https://bugzil.la/2006676)."
2023+
]
2024+
},
2025+
"firefox_android": {
2026+
"version_added": false
2027+
},
2028+
"oculus": "mirror",
2029+
"opera": "mirror",
2030+
"opera_android": "mirror",
2031+
"safari": {
2032+
"version_added": "26"
2033+
},
2034+
"safari_ios": "mirror",
2035+
"samsunginternet_android": "mirror",
2036+
"webview_android": "mirror",
2037+
"webview_ios": "mirror"
2038+
},
2039+
"status": {
2040+
"experimental": false,
2041+
"standard_track": true,
2042+
"deprecated": false
2043+
}
2044+
},
2045+
"accept_transient_attachment": {
2046+
"__compat": {
2047+
"description": "`usage` descriptor accepts transient attachment",
2048+
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputextureusage-transient_attachment",
2049+
"tags": [
2050+
"web-features:webgpu"
2051+
],
2052+
"support": {
2053+
"chrome": {
2054+
"version_added": "146",
2055+
"partial_implementation": true,
2056+
"notes": [
2057+
"Supported on ChromeOS, macOS, and Windows.",
2058+
"Supported on Linux (Intel Gen12+ GPUs only) since Chrome 144."
2059+
]
2060+
},
2061+
"chrome_android": "mirror",
2062+
"deno": {
2063+
"version_added": false
2064+
},
2065+
"edge": "mirror",
2066+
"firefox": {
2067+
"version_added": false
2068+
},
2069+
"firefox_android": "mirror",
2070+
"oculus": "mirror",
2071+
"opera": "mirror",
2072+
"opera_android": "mirror",
2073+
"safari": {
2074+
"version_added": false
2075+
},
2076+
"safari_ios": "mirror",
2077+
"samsunginternet_android": "mirror",
2078+
"webview_android": "mirror",
2079+
"webview_ios": "mirror"
2080+
},
2081+
"status": {
2082+
"experimental": true,
2083+
"standard_track": true,
2084+
"deprecated": false
2085+
}
2086+
}
2087+
}
2088+
},
19782089
"texture_rgb10a2uint": {
19792090
"__compat": {
19802091
"description": "<code>rgb10a2uint</code> texture format",

api/GPUTexture.json

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,49 @@
263263
"standard_track": true,
264264
"deprecated": false
265265
}
266+
},
267+
"transient_attachment": {
268+
"__compat": {
269+
"description": "`TRANSIENT_ATTACHMENT` value",
270+
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputextureusage-transient_attachment",
271+
"tags": [
272+
"web-features:webgpu"
273+
],
274+
"support": {
275+
"chrome": {
276+
"version_added": "146",
277+
"partial_implementation": true,
278+
"notes": [
279+
"Supported on ChromeOS, macOS, and Windows.",
280+
"Supported on Linux (Intel Gen12+ GPUs only) since Chrome 144."
281+
]
282+
},
283+
"chrome_android": "mirror",
284+
"deno": {
285+
"version_added": false
286+
},
287+
"edge": "mirror",
288+
"firefox": {
289+
"version_added": false
290+
},
291+
"firefox_android": "mirror",
292+
"oculus": "mirror",
293+
"opera": "mirror",
294+
"opera_android": "mirror",
295+
"safari": {
296+
"version_added": false
297+
},
298+
"safari_ios": "mirror",
299+
"samsunginternet_android": "mirror",
300+
"webview_android": "mirror",
301+
"webview_ios": "mirror"
302+
},
303+
"status": {
304+
"experimental": true,
305+
"standard_track": true,
306+
"deprecated": false
307+
}
308+
}
266309
}
267310
}
268311
},
@@ -952,6 +995,49 @@
952995
"standard_track": true,
953996
"deprecated": false
954997
}
998+
},
999+
"transient_attachment": {
1000+
"__compat": {
1001+
"description": "`TRANSIENT_ATTACHMENT` value",
1002+
"spec_url": "https://gpuweb.github.io/gpuweb/#dom-gputextureusage-transient_attachment",
1003+
"tags": [
1004+
"web-features:webgpu"
1005+
],
1006+
"support": {
1007+
"chrome": {
1008+
"version_added": "146",
1009+
"partial_implementation": true,
1010+
"notes": [
1011+
"Supported on ChromeOS, macOS, and Windows.",
1012+
"Supported on Linux (Intel Gen12+ GPUs only) since Chrome 144."
1013+
]
1014+
},
1015+
"chrome_android": "mirror",
1016+
"deno": {
1017+
"version_added": false
1018+
},
1019+
"edge": "mirror",
1020+
"firefox": {
1021+
"version_added": false
1022+
},
1023+
"firefox_android": "mirror",
1024+
"oculus": "mirror",
1025+
"opera": "mirror",
1026+
"opera_android": "mirror",
1027+
"safari": {
1028+
"version_added": false
1029+
},
1030+
"safari_ios": "mirror",
1031+
"samsunginternet_android": "mirror",
1032+
"webview_android": "mirror",
1033+
"webview_ios": "mirror"
1034+
},
1035+
"status": {
1036+
"experimental": true,
1037+
"standard_track": true,
1038+
"deprecated": false
1039+
}
1040+
}
9551041
}
9561042
},
9571043
"width": {

0 commit comments

Comments
 (0)