Add a WebGPU Developer Features flag
This flag will allow features not typically exposed to the web platform
but useful during development to be implemented. Currently the only
feature exposed by this flag is allowing GPUAdapterInfo to return more
detailed information about the adapter than would typically be reported.
Bug: dawn:1427
Change-Id: I8bab9b7348227d0182d8ba93d64c404af80358e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3700817
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
Commit-Queue: Brandon Jones <[email protected]>
Reviewed-by: Austin Eng <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1014590}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index e12e5ec..e51bdcc 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2856,6 +2856,11 @@
"Enabling this option allows web applications to access the WebGL "
"extensions that are still in draft status.";
+const char kWebGpuDeveloperFeaturesName[] = "WebGPU Developer Features";
+const char kWebGpuDeveloperFeaturesDescription[] =
+ "Enables web applications to access WebGPU features intended only for use "
+ "during development.";
+
const char kWebPaymentsExperimentalFeaturesName[] =
"Experimental Web Payments API features";
const char kWebPaymentsExperimentalFeaturesDescription[] =