Hash :
dac0ef51
Author :
Date :
2025-05-27T18:36:56
WebGPU: Add a feature to avoid wgpuInstanceWaitAny Synchronous waiting is not available in Chrome's renderer process yet. Add a temporary feature to avoid some WaitAny calls and just log errors instead. Bug: angleproject:413078308 Change-Id: I67e54dfcfc093fd250da8cc616c05d44b78c8d64 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/6593531 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
// GENERATED FILE - DO NOT EDIT.
// Generated by gen_features.py using data from wgpu_features.json.
//
// Copyright 2025 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// FeaturesWgpu_autogen.h: angle::Features and workarounds for the WebGPU backend.
#ifndef ANGLE_PLATFORM_AUTOGEN_FEATURESWGPU_H_
#define ANGLE_PLATFORM_AUTOGEN_FEATURESWGPU_H_
#include "platform/Feature.h"
namespace angle
{
struct FeaturesWgpu : FeatureSetBase
{
FeaturesWgpu();
~FeaturesWgpu();
FeatureInfo avoidWaitAny = {
"avoidWaitAny",
FeatureCategory::WebGPUWorkarounds,
&members,
};
};
inline FeaturesWgpu::FeaturesWgpu() = default;
inline FeaturesWgpu::~FeaturesWgpu() = default;
} // namespace angle
#endif // ANGLE_PLATFORM_AUTOGEN_FEATURESWGPU_H_