Skip to content

Commit

Permalink
Disable the flag CollectWebGPUSupportMetrics for Windows
Browse files Browse the repository at this point in the history
The info collection may hang while loading the driver on Windows.
This is the step 1 of go/finch-killswitch#process.

(cherry picked from commit abed7eb)

Bug: 1487488
Change-Id: Iff3630d191fce7dcb1acc47fc5f2c69a46a34617
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4904998
Reviewed-by: Maggie Chen <magchen@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1203467}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4919936
Cr-Commit-Position: refs/branch-heads/5993@{#1235}
Cr-Branched-From: 5113507-refs/heads/main@{#1192594}
  • Loading branch information
austinEng authored and Chromium LUCI CQ committed Oct 10, 2023
1 parent a5ba4e0 commit 5d2a79e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gpu/config/gpu_info_collector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,11 @@ void ReportWebGPUAdapterMetrics(dawn::native::Instance* instance) {
void ReportWebGPUSupportMetrics(dawn::native::Instance* instance) {
static BASE_FEATURE(kCollectWebGPUSupportMetrics,
"CollectWebGPUSupportMetrics",
#if BUILDFLAG(IS_WIN)
base::FEATURE_DISABLED_BY_DEFAULT);
#else
base::FEATURE_ENABLED_BY_DEFAULT);
#endif
if (!base::FeatureList::IsEnabled(kCollectWebGPUSupportMetrics)) {
return;
}
Expand Down

0 comments on commit 5d2a79e

Please sign in to comment.