blob: a9c7adb5b538ffd8b4455e5739280a479b377959 [file] [log] [blame]
// Copyright (c) 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GPU_COMMAND_BUFFER_COMMON_WEBGPU_CMD_ENUMS_H_
#define GPU_COMMAND_BUFFER_COMMON_WEBGPU_CMD_ENUMS_H_
#include <stdint.h>
namespace gpu {
namespace webgpu {
enum class PowerPreference : uint32_t {
kLowPower,
kHighPerformance,
kDefault,
kNumPowerPreferences
};
enum class DawnReturnDataType : uint32_t {
kDawnCommands,
kRequestedDawnAdapterProperties,
kRequestedDeviceReturnInfo,
kNumDawnReturnDataType
};
enum MailboxFlags : uint32_t {
WEBGPU_MAILBOX_NONE = 0,
WEBGPU_MAILBOX_DISCARD = 1 << 0,
};
} // namespace webgpu
} // namespace gpu
#endif // GPU_COMMAND_BUFFER_COMMON_WEBGPU_CMD_ENUMS_H_