chromium/third_party/blink/renderer/modules/webgpu/gpu_shader_stage.idl

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://gpuweb.github.io/gpuweb/

typedef [EnforceRange] unsigned long GPUShaderStageFlags;
[
    Exposed=(Window, Worker),
    SecureContext
] namespace GPUShaderStage {
    const GPUFlagsConstant VERTEX = 1;
    const GPUFlagsConstant FRAGMENT = 2;
    const GPUFlagsConstant COMPUTE = 4;
};