Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c8882b

Browse files
authored
fix bikeshed syntax typo (gpuweb#3066)
1 parent 1c889b5 commit 9c8882b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11212,7 +11212,7 @@ interface GPUCanvasContext {
1121211212
1. [$Validate texture format required features$] of each element of
1121311213
|configuration|.{{GPUTextureDescriptor/viewFormats}} with |device|.{{GPUObjectBase/[[device]]}}.
1121411214
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|).
1121611216
1. Set |this|.{{GPUCanvasContext/[[configuration]]}} to |configuration|.
1121711217
1. Set |this|.{{GPUCanvasContext/[[textureDescriptor]]}} to |descriptor|.
1121811218
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
1150711507
1. Let |configuration| be |context|.{{GPUCanvasContext/[[configuration]]}}
1150811508
1. If |configuration| is not `null`:
1150911509
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|).
1151111511

1151211512
Note: This may result a {{GPUTextureDescriptor}} which exceeds the
1151311513
{{supported limits/maxTextureDimension2D}} of the device. In this case,

0 commit comments

Comments
 (0)