Commit 9dd9e151 authored by Austin Eng's avatar Austin Eng Committed by Commit Bot

Replace old WebGPU spec link with the current one

Bug: chromium:852089
Change-Id: Ic526b2ec5d2d58a11a5bdfb26b29fe16c8f1ceed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1759684
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: default avatarKai Ninomiya <kainino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#688257}
parent be003c08
......@@ -4,4 +4,4 @@ The WebGPU API is the successor to the WebGL and WebGL 2 graphics APIs for the W
It will provide modern features such as “GPU compute” as well as lower overhead access to GPU hardware and better, more predictable performance.
WebGPU is being developed by the [“GPU for the Web”](https://www.w3.org/community/gpu/) W3C community group.
This Blink module implements the WebGPU API's [sketch WebIDL](https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl) that will evolve as WebGPU gets closer to an MVP.
This Blink module implements the WebGPU API's [spec](https://gpuweb.github.io/gpuweb/) that will evolve as WebGPU gets closer to an MVP.
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
typedef (GPUSampler or GPUTextureView or GPUBufferBinding) GPUBindingResource;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUBindGroupDescriptor {
required GPUBindGroupLayout layout;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUBindGroupLayoutBinding {
required unsigned long binding;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUBindGroupLayoutDescriptor {
required sequence<GPUBindGroupLayoutBinding> bindings;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUBlendDescriptor {
GPUBlendFactor srcFactor = "one";
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUBufferBinding {
required GPUBuffer buffer;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUBufferCopyView {
required GPUBuffer buffer;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUBufferDescriptor {
required unsigned long long size;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
typedef unsigned long GPUBufferUsageFlags;
[
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUColor {
required float r;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUColorStateDescriptor {
required GPUTextureFormat format;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
typedef unsigned long GPUColorWriteFlags;
[
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUCommandEncoderDescriptor {
};
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUComputePipelineDescriptor : GPUPipelineDescriptorBase {
required GPUPipelineStageDescriptor computeStage;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUDepthStencilStateDescriptor {
required GPUTextureFormat format;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUDeviceDescriptor {
GPUExtensions extensions;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUExtensions {
};
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUExtent3D {
required unsigned long width;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUFenceDescriptor {
unsigned long long initialValue = 0;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPULimits {
unsigned long maxBindGroups = 4;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUOrigin3D {
required unsigned long x;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
Constructor(),
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUPipelineDescriptorBase {
DOMString label;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUPipelineLayoutDescriptor {
required sequence<GPUBindGroupLayout> bindGroupLayouts;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUPipelineStageDescriptor {
required GPUShaderModule module;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPURasterizationStateDescriptor {
GPUFrontFace frontFace = "ccw";
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPURenderPassColorAttachmentDescriptor {
required GPUTextureView attachment;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPURenderPassDepthStencilAttachmentDescriptor {
required GPUTextureView attachment;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPURenderPassDescriptor {
required sequence<GPURenderPassColorAttachmentDescriptor> colorAttachments;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPURenderPipelineDescriptor : GPUPipelineDescriptorBase {
required GPUPipelineStageDescriptor vertexStage;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
enum GPUPowerPreference {
"low-power",
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUSamplerDescriptor {
GPUAddressMode addressModeU = "clamp-to-edge";
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUShaderModuleDescriptor {
DOMString label;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
typedef unsigned long GPUShaderStageFlags;
[
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUStencilStateFaceDescriptor {
GPUCompareFunction compare = "always";
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUSwapChainDescriptor {
required GPUDevice device;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUTextureCopyView {
required GPUTexture texture;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUTextureDescriptor {
required GPUExtent3D size;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
typedef unsigned long GPUTextureUsageFlags;
[
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
RuntimeEnabled=WebGPU
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUTextureViewDescriptor {
required GPUTextureFormat format;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
Constructor(DOMString type, GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict),
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUUncapturedErrorEventInit : EventInit {
required GPUError error;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
Constructor(DOMString message),
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
typedef unsigned long GPUShaderAttributeIndex;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUVertexBufferDescriptor {
required unsigned long long stride;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
dictionary GPUVertexInputDescriptor {
GPUIndexFormat indexFormat = "uint32";
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://github.com/gpuweb/gpuweb/blob/master/design/sketch.webidl
// https://gpuweb.github.io/gpuweb/
[
Exposed=Window,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment