Skip to content

Commit

Permalink
Add more keys to WebGPU (#2028)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 authored Oct 23, 2024
1 parent 5e91a2a commit f4c37bd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
7 changes: 7 additions & 0 deletions features/webgpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ compat_features:
- api.GPU
- api.GPU.getPreferredCanvasFormat
- api.GPU.requestAdapter
- api.GPU.requestAdapter.discrete_adapter_default_ac
- api.GPU.wgslLanguageFeatures
- api.GPUAdapter
- api.GPUAdapter.features
- api.GPUAdapter.info
- api.GPUAdapter.isFallbackAdapter
- api.GPUAdapter.limits
- api.GPUAdapter.requestDevice
- api.GPUAdapter.requestDevice.lost_device_on_duplicate
- api.GPUAdapterInfo
- api.GPUAdapterInfo.architecture
- api.GPUAdapterInfo.description
Expand Down Expand Up @@ -96,6 +98,7 @@ compat_features:
- api.GPUDevice.destroy
- api.GPUDevice.features
- api.GPUDevice.importExternalTexture
- api.GPUDevice.importExternalTexture.videoframe_source
- api.GPUDevice.label
- api.GPUDevice.limits
- api.GPUDevice.lost
Expand All @@ -116,6 +119,7 @@ compat_features:
- api.GPUOutOfMemoryError.GPUOutOfMemoryError
- api.GPUPipelineError
- api.GPUPipelineError.GPUPipelineError
- api.GPUPipelineError.GPUPipelineError.message_optional
- api.GPUPipelineError.reason
- api.GPUPipelineLayout
- api.GPUPipelineLayout.label
Expand All @@ -126,6 +130,7 @@ compat_features:
- api.GPUQuerySet.type
- api.GPUQueue
- api.GPUQueue.copyExternalImageToTexture
- api.GPUQueue.copyExternalImageToTexture.videoframe_source
- api.GPUQueue.label
- api.GPUQueue.onSubmittedWorkDone
- api.GPUQueue.submit
Expand All @@ -147,6 +152,7 @@ compat_features:
- api.GPURenderBundleEncoder.setIndexBuffer
- api.GPURenderBundleEncoder.setPipeline
- api.GPURenderBundleEncoder.setVertexBuffer
- api.GPURenderBundleEncoder.setVertexBuffer.unset_vertex_buffer
- api.GPURenderPassEncoder
- api.GPURenderPassEncoder.beginOcclusionQuery
- api.GPURenderPassEncoder.draw
Expand All @@ -167,6 +173,7 @@ compat_features:
- api.GPURenderPassEncoder.setScissorRect
- api.GPURenderPassEncoder.setStencilReference
- api.GPURenderPassEncoder.setVertexBuffer
- api.GPURenderPassEncoder.setVertexBuffer.unset_vertex_buffer
- api.GPURenderPassEncoder.setViewport
- api.GPURenderPipeline
- api.GPURenderPipeline.getBindGroupLayout
Expand Down
19 changes: 19 additions & 0 deletions features/webgpu.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ compat_features:
- api.GPUOutOfMemoryError.GPUOutOfMemoryError
- api.GPUPipelineError
- api.GPUPipelineError.GPUPipelineError
- api.GPUPipelineError.GPUPipelineError.message_optional
- api.GPUPipelineError.reason
- api.GPUPipelineLayout
- api.GPUPipelineLayout.label
Expand Down Expand Up @@ -244,8 +245,26 @@ compat_features:
# chrome: "115"
# chrome_android: "121"
# edge: "115"
- api.GPU.requestAdapter.discrete_adapter_default_ac
- api.GPU.wgslLanguageFeatures

# baseline: false
# support:
# chrome: "116"
# chrome_android: "121"
# edge: "116"
- api.GPUAdapter.requestDevice.lost_device_on_duplicate
- api.GPUDevice.importExternalTexture.videoframe_source
- api.GPUQueue.copyExternalImageToTexture.videoframe_source

# baseline: false
# support:
# chrome: "117"
# chrome_android: "121"
# edge: "117"
- api.GPURenderBundleEncoder.setVertexBuffer.unset_vertex_buffer
- api.GPURenderPassEncoder.setVertexBuffer.unset_vertex_buffer

# baseline: false
# support:
# chrome: "120"
Expand Down

0 comments on commit f4c37bd

Please sign in to comment.