File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11212,7 +11212,7 @@ interface GPUCanvasContext {
11212
11212
1. [$Validate texture format required features$] of each element of
11213
11213
|configuration|.{{GPUTextureDescriptor/viewFormats}} with |device|.{{GPUObjectBase/[[device]]}}.
11214
11214
1. Let |descriptor| be the
11215
- { $GPUTextureDescriptor for the canvas and configuration$} (|this|.{{GPUCanvasContext/canvas}}, |configuration|).
11215
+ [ $GPUTextureDescriptor for the canvas and configuration$] (|this|.{{GPUCanvasContext/canvas}}, |configuration|).
11216
11216
1. Set |this|.{{GPUCanvasContext/[[configuration]]}} to |configuration|.
11217
11217
1. Set |this|.{{GPUCanvasContext/[[textureDescriptor]]}} to |descriptor|.
11218
11218
1. [$Replace the drawing buffer$] of |this|, which resets
@@ -11507,7 +11507,7 @@ In WebGPU, it does so by [$Replace the drawing buffer|replacing the drawing buff
11507
11507
1. Let |configuration| be |context|.{{GPUCanvasContext/[[configuration]]}}
11508
11508
1. If |configuration| is not `null`:
11509
11509
1. Set |context|.{{GPUCanvasContext/[[textureDescriptor]]}} to the
11510
- { $GPUTextureDescriptor for the canvas and configuration$} (|canvas|, |configuration|).
11510
+ [ $GPUTextureDescriptor for the canvas and configuration$] (|canvas|, |configuration|).
11511
11511
11512
11512
Note: This may result a {{GPUTextureDescriptor}} which exceeds the
11513
11513
{{supported limits/maxTextureDimension2D}} of the device. In this case,
You can’t perform that action at this time.
0 commit comments