Skip to content

Commit

Permalink
Publish curated data from ebdf5ce
Browse files Browse the repository at this point in the history
Curated data generated from raw data at ebdf5ce
  • Loading branch information
curation-bot committed Nov 5, 2024
1 parent 857c0f3 commit d060cb0
Show file tree
Hide file tree
Showing 10 changed files with 768 additions and 691 deletions.
394 changes: 191 additions & 203 deletions ed/algorithms/webgpu.json

Large diffs are not rendered by default.

117 changes: 89 additions & 28 deletions ed/dfns/webgpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -1425,27 +1425,6 @@
},
"definedIn": "dt"
},
{
"id": "dom-device-destroy-started-slot",
"href": "https://gpuweb.github.io/gpuweb/#dom-device-destroy-started-slot",
"linkingText": [
"[[destroy started]]"
],
"localLinkingText": [],
"type": "attribute",
"for": [
"device"
],
"access": "public",
"informative": false,
"heading": {
"id": "devices",
"href": "https://gpuweb.github.io/gpuweb/#devices",
"title": "Devices",
"number": "3.5.2"
},
"definedIn": "dt"
},
{
"id": "a-new-device",
"href": "https://gpuweb.github.io/gpuweb/#a-new-device",
Expand Down Expand Up @@ -3573,6 +3552,25 @@
},
"definedIn": "prose"
},
{
"id": "enumdef-gpupowerpreference",
"href": "https://gpuweb.github.io/gpuweb/#enumdef-gpupowerpreference",
"linkingText": [
"GPUPowerPreference"
],
"localLinkingText": [],
"type": "enum",
"for": [],
"access": "public",
"informative": false,
"heading": {
"id": "adapter-selection",
"href": "https://gpuweb.github.io/gpuweb/#adapter-selection",
"title": "Adapter Selection",
"number": "4.2.2"
},
"definedIn": "pre"
},
{
"id": "dom-gpurequestadapteroptions-featurelevel",
"href": "https://gpuweb.github.io/gpuweb/#dom-gpurequestadapteroptions-featurelevel",
Expand All @@ -3592,26 +3590,68 @@
"title": "Adapter Selection",
"number": "4.2.2"
},
"definedIn": "pre"
"definedIn": "dt"
},
{
"id": "enumdef-gpupowerpreference",
"href": "https://gpuweb.github.io/gpuweb/#enumdef-gpupowerpreference",
"id": "feature-level-string",
"href": "https://gpuweb.github.io/gpuweb/#feature-level-string",
"linkingText": [
"GPUPowerPreference"
"feature level string"
],
"localLinkingText": [],
"type": "enum",
"type": "dfn",
"for": [],
"access": "public",
"access": "private",
"informative": false,
"heading": {
"id": "adapter-selection",
"href": "https://gpuweb.github.io/gpuweb/#adapter-selection",
"title": "Adapter Selection",
"number": "4.2.2"
},
"definedIn": "pre"
"definedIn": "prose"
},
{
"id": "feature-level-string-core",
"href": "https://gpuweb.github.io/gpuweb/#feature-level-string-core",
"linkingText": [
"\"core\""
],
"localLinkingText": [],
"type": "dfn",
"for": [
"feature level string"
],
"access": "private",
"informative": false,
"heading": {
"id": "adapter-selection",
"href": "https://gpuweb.github.io/gpuweb/#adapter-selection",
"title": "Adapter Selection",
"number": "4.2.2"
},
"definedIn": "dt"
},
{
"id": "feature-level-string-compatibility",
"href": "https://gpuweb.github.io/gpuweb/#feature-level-string-compatibility",
"linkingText": [
"\"compatibility\""
],
"localLinkingText": [],
"type": "dfn",
"for": [
"feature level string"
],
"access": "private",
"informative": false,
"heading": {
"id": "adapter-selection",
"href": "https://gpuweb.github.io/gpuweb/#adapter-selection",
"title": "Adapter Selection",
"number": "4.2.2"
},
"definedIn": "dt"
},
{
"id": "dom-gpurequestadapteroptions-powerpreference",
Expand Down Expand Up @@ -4047,6 +4087,27 @@
},
"definedIn": "dt"
},
{
"id": "dom-gpudevice-adapterinfo",
"href": "https://gpuweb.github.io/gpuweb/#dom-gpudevice-adapterinfo",
"linkingText": [
"adapterInfo"
],
"localLinkingText": [],
"type": "attribute",
"for": [
"GPUDevice"
],
"access": "public",
"informative": false,
"heading": {
"id": "gpudevice",
"href": "https://gpuweb.github.io/gpuweb/#gpudevice",
"title": "GPUDevice",
"number": "4.4"
},
"definedIn": "dt"
},
{
"id": "dom-gpudevice-destroy",
"href": "https://gpuweb.github.io/gpuweb/#dom-gpudevice-destroy",
Expand Down
3 changes: 2 additions & 1 deletion ed/idl/webgpu.idl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ interface GPU {
};

dictionary GPURequestAdapterOptions {
DOMString featureLevel;
DOMString featureLevel = "core";
GPUPowerPreference powerPreference;
boolean forceFallbackAdapter = false;
};
Expand Down Expand Up @@ -128,6 +128,7 @@ enum GPUFeatureName {
interface GPUDevice : EventTarget {
[SameObject] readonly attribute GPUSupportedFeatures features;
[SameObject] readonly attribute GPUSupportedLimits limits;
[SameObject] readonly attribute GPUAdapterInfo adapterInfo;

[SameObject] readonly attribute GPUQueue queue;

Expand Down
1 change: 1 addition & 0 deletions ed/idlnames/GPUDevice.idl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
interface GPUDevice : EventTarget {
[SameObject] readonly attribute GPUSupportedFeatures features;
[SameObject] readonly attribute GPUSupportedLimits limits;
[SameObject] readonly attribute GPUAdapterInfo adapterInfo;

[SameObject] readonly attribute GPUQueue queue;

Expand Down
2 changes: 1 addition & 1 deletion ed/idlnames/GPURequestAdapterOptions.idl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Source: WebGPU (https://www.w3.org/TR/webgpu/)
dictionary GPURequestAdapterOptions {
DOMString featureLevel;
DOMString featureLevel = "core";
GPUPowerPreference powerPreference;
boolean forceFallbackAdapter = false;
};
2 changes: 1 addition & 1 deletion ed/idlnamesparsed/GPUDevice.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"title": "WebGPU",
"url": "https://www.w3.org/TR/webgpu/"
},
"fragment": "[Exposed=(Window, Worker), SecureContext]\ninterface GPUDevice : EventTarget {\n [SameObject] readonly attribute GPUSupportedFeatures features;\n [SameObject] readonly attribute GPUSupportedLimits limits;\n\n [SameObject] readonly attribute GPUQueue queue;\n\n undefined destroy();\n\n GPUBuffer createBuffer(GPUBufferDescriptor descriptor);\n GPUTexture createTexture(GPUTextureDescriptor descriptor);\n GPUSampler createSampler(optional GPUSamplerDescriptor descriptor = {});\n GPUExternalTexture importExternalTexture(GPUExternalTextureDescriptor descriptor);\n\n GPUBindGroupLayout createBindGroupLayout(GPUBindGroupLayoutDescriptor descriptor);\n GPUPipelineLayout createPipelineLayout(GPUPipelineLayoutDescriptor descriptor);\n GPUBindGroup createBindGroup(GPUBindGroupDescriptor descriptor);\n\n GPUShaderModule createShaderModule(GPUShaderModuleDescriptor descriptor);\n GPUComputePipeline createComputePipeline(GPUComputePipelineDescriptor descriptor);\n GPURenderPipeline createRenderPipeline(GPURenderPipelineDescriptor descriptor);\n Promise<GPUComputePipeline> createComputePipelineAsync(GPUComputePipelineDescriptor descriptor);\n Promise<GPURenderPipeline> createRenderPipelineAsync(GPURenderPipelineDescriptor descriptor);\n\n GPUCommandEncoder createCommandEncoder(optional GPUCommandEncoderDescriptor descriptor = {});\n GPURenderBundleEncoder createRenderBundleEncoder(GPURenderBundleEncoderDescriptor descriptor);\n\n GPUQuerySet createQuerySet(GPUQuerySetDescriptor descriptor);\n};",
"fragment": "[Exposed=(Window, Worker), SecureContext]\ninterface GPUDevice : EventTarget {\n [SameObject] readonly attribute GPUSupportedFeatures features;\n [SameObject] readonly attribute GPUSupportedLimits limits;\n [SameObject] readonly attribute GPUAdapterInfo adapterInfo;\n\n [SameObject] readonly attribute GPUQueue queue;\n\n undefined destroy();\n\n GPUBuffer createBuffer(GPUBufferDescriptor descriptor);\n GPUTexture createTexture(GPUTextureDescriptor descriptor);\n GPUSampler createSampler(optional GPUSamplerDescriptor descriptor = {});\n GPUExternalTexture importExternalTexture(GPUExternalTextureDescriptor descriptor);\n\n GPUBindGroupLayout createBindGroupLayout(GPUBindGroupLayoutDescriptor descriptor);\n GPUPipelineLayout createPipelineLayout(GPUPipelineLayoutDescriptor descriptor);\n GPUBindGroup createBindGroup(GPUBindGroupDescriptor descriptor);\n\n GPUShaderModule createShaderModule(GPUShaderModuleDescriptor descriptor);\n GPUComputePipeline createComputePipeline(GPUComputePipelineDescriptor descriptor);\n GPURenderPipeline createRenderPipeline(GPURenderPipelineDescriptor descriptor);\n Promise<GPUComputePipeline> createComputePipelineAsync(GPUComputePipelineDescriptor descriptor);\n Promise<GPURenderPipeline> createRenderPipelineAsync(GPURenderPipelineDescriptor descriptor);\n\n GPUCommandEncoder createCommandEncoder(optional GPUCommandEncoderDescriptor descriptor = {});\n GPURenderBundleEncoder createRenderBundleEncoder(GPURenderBundleEncoderDescriptor descriptor);\n\n GPUQuerySet createQuerySet(GPUQuerySetDescriptor descriptor);\n};",
"href": "https://gpuweb.github.io/gpuweb/#gpudevice"
},
"extended": [
Expand Down
2 changes: 1 addition & 1 deletion ed/idlnamesparsed/GPURequestAdapterOptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"title": "WebGPU",
"url": "https://www.w3.org/TR/webgpu/"
},
"fragment": "dictionary GPURequestAdapterOptions {\n DOMString featureLevel;\n GPUPowerPreference powerPreference;\n boolean forceFallbackAdapter = false;\n};",
"fragment": "dictionary GPURequestAdapterOptions {\n DOMString featureLevel = \"core\";\n GPUPowerPreference powerPreference;\n boolean forceFallbackAdapter = false;\n};",
"href": "https://gpuweb.github.io/gpuweb/#dictdef-gpurequestadapteroptions"
},
"extended": [],
Expand Down
33 changes: 30 additions & 3 deletions ed/idlparsed/webgpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@
"href": "https://gpuweb.github.io/gpuweb/#gpu"
},
"GPURequestAdapterOptions": {
"fragment": "dictionary GPURequestAdapterOptions {\n DOMString featureLevel;\n GPUPowerPreference powerPreference;\n boolean forceFallbackAdapter = false;\n};",
"fragment": "dictionary GPURequestAdapterOptions {\n DOMString featureLevel = \"core\";\n GPUPowerPreference powerPreference;\n boolean forceFallbackAdapter = false;\n};",
"type": "dictionary",
"name": "GPURequestAdapterOptions",
"inheritance": null,
Expand All @@ -1053,7 +1053,10 @@
"union": false,
"idlType": "DOMString"
},
"default": null,
"default": {
"type": "string",
"value": "core"
},
"required": false,
"href": "https://gpuweb.github.io/gpuweb/#dom-gpurequestadapteroptions-featurelevel"
},
Expand Down Expand Up @@ -1478,7 +1481,7 @@
"href": "https://gpuweb.github.io/gpuweb/#gpufeaturename"
},
"GPUDevice": {
"fragment": "[Exposed=(Window, Worker), SecureContext]\ninterface GPUDevice : EventTarget {\n [SameObject] readonly attribute GPUSupportedFeatures features;\n [SameObject] readonly attribute GPUSupportedLimits limits;\n\n [SameObject] readonly attribute GPUQueue queue;\n\n undefined destroy();\n\n GPUBuffer createBuffer(GPUBufferDescriptor descriptor);\n GPUTexture createTexture(GPUTextureDescriptor descriptor);\n GPUSampler createSampler(optional GPUSamplerDescriptor descriptor = {});\n GPUExternalTexture importExternalTexture(GPUExternalTextureDescriptor descriptor);\n\n GPUBindGroupLayout createBindGroupLayout(GPUBindGroupLayoutDescriptor descriptor);\n GPUPipelineLayout createPipelineLayout(GPUPipelineLayoutDescriptor descriptor);\n GPUBindGroup createBindGroup(GPUBindGroupDescriptor descriptor);\n\n GPUShaderModule createShaderModule(GPUShaderModuleDescriptor descriptor);\n GPUComputePipeline createComputePipeline(GPUComputePipelineDescriptor descriptor);\n GPURenderPipeline createRenderPipeline(GPURenderPipelineDescriptor descriptor);\n Promise<GPUComputePipeline> createComputePipelineAsync(GPUComputePipelineDescriptor descriptor);\n Promise<GPURenderPipeline> createRenderPipelineAsync(GPURenderPipelineDescriptor descriptor);\n\n GPUCommandEncoder createCommandEncoder(optional GPUCommandEncoderDescriptor descriptor = {});\n GPURenderBundleEncoder createRenderBundleEncoder(GPURenderBundleEncoderDescriptor descriptor);\n\n GPUQuerySet createQuerySet(GPUQuerySetDescriptor descriptor);\n};",
"fragment": "[Exposed=(Window, Worker), SecureContext]\ninterface GPUDevice : EventTarget {\n [SameObject] readonly attribute GPUSupportedFeatures features;\n [SameObject] readonly attribute GPUSupportedLimits limits;\n [SameObject] readonly attribute GPUAdapterInfo adapterInfo;\n\n [SameObject] readonly attribute GPUQueue queue;\n\n undefined destroy();\n\n GPUBuffer createBuffer(GPUBufferDescriptor descriptor);\n GPUTexture createTexture(GPUTextureDescriptor descriptor);\n GPUSampler createSampler(optional GPUSamplerDescriptor descriptor = {});\n GPUExternalTexture importExternalTexture(GPUExternalTextureDescriptor descriptor);\n\n GPUBindGroupLayout createBindGroupLayout(GPUBindGroupLayoutDescriptor descriptor);\n GPUPipelineLayout createPipelineLayout(GPUPipelineLayoutDescriptor descriptor);\n GPUBindGroup createBindGroup(GPUBindGroupDescriptor descriptor);\n\n GPUShaderModule createShaderModule(GPUShaderModuleDescriptor descriptor);\n GPUComputePipeline createComputePipeline(GPUComputePipelineDescriptor descriptor);\n GPURenderPipeline createRenderPipeline(GPURenderPipelineDescriptor descriptor);\n Promise<GPUComputePipeline> createComputePipelineAsync(GPUComputePipelineDescriptor descriptor);\n Promise<GPURenderPipeline> createRenderPipelineAsync(GPURenderPipelineDescriptor descriptor);\n\n GPUCommandEncoder createCommandEncoder(optional GPUCommandEncoderDescriptor descriptor = {});\n GPURenderBundleEncoder createRenderBundleEncoder(GPURenderBundleEncoderDescriptor descriptor);\n\n GPUQuerySet createQuerySet(GPUQuerySetDescriptor descriptor);\n};",
"type": "interface",
"name": "GPUDevice",
"inheritance": "EventTarget",
Expand Down Expand Up @@ -1529,6 +1532,29 @@
"readonly": true,
"href": "https://gpuweb.github.io/gpuweb/#dom-gpudevice-limits"
},
{
"type": "attribute",
"name": "adapterInfo",
"idlType": {
"type": "attribute-type",
"extAttrs": [],
"generic": "",
"nullable": false,
"union": false,
"idlType": "GPUAdapterInfo"
},
"extAttrs": [
{
"type": "extended-attribute",
"name": "SameObject",
"rhs": null,
"arguments": []
}
],
"special": "",
"readonly": true,
"href": "https://gpuweb.github.io/gpuweb/#dom-gpudevice-adapterinfo"
},
{
"type": "attribute",
"name": "queue",
Expand Down Expand Up @@ -13595,6 +13621,7 @@
"EventTarget",
"GPUSupportedFeatures",
"GPUSupportedLimits",
"GPUAdapterInfo",
"GPUQueue",
"GPUBuffer",
"GPUBufferDescriptor",
Expand Down
Loading

0 comments on commit d060cb0

Please sign in to comment.