@@ -12046,8 +12046,8 @@ dictionary GPURenderPassColorAttachment {
1204612046 1. |this|.{{GPURenderPassColorAttachment/depthSlice}} |must| not [=map/exist|be provided=].
1204712047
1204812048 1. If |renderViewDescriptor|.{{GPUTextureViewDescriptor/usage}} includes the {{GPUTextureUsage/TRANSIENT_ATTACHMENT}} bit:
12049- 1. |this|.{{GPURenderPassColorAttachment/loadOp}} must be {{GPULoadOp/"clear"}}.
12050- 1. |this|.{{GPURenderPassColorAttachment/storeOp}} must be {{GPUStoreOp/"discard"}}.
12049+ 1. |this|.{{GPURenderPassColorAttachment/loadOp}}| must| be {{GPULoadOp/"clear"}}.
12050+ 1. |this|.{{GPURenderPassColorAttachment/storeOp}}| must| be {{GPUStoreOp/"discard"}}.
1205112051 1. If |this|.{{GPURenderPassColorAttachment/loadOp}} is {{GPULoadOp/"clear"}}:
1205212052 1. Converting the IDL value |this|.{{GPURenderPassColorAttachment/clearValue}}
1205312053 [$to a texel value of texture format$] |renderViewDescriptor|.{{GPUTextureViewDescriptor/format}}
@@ -12190,38 +12190,38 @@ dictionary GPURenderPassDepthStencilAttachment {
1219012190
1219112191 Given a {{GPURenderPassDepthStencilAttachment}} |this|:
1219212192
12193- - Let |format| be |this|.{{GPURenderPassDepthStencilAttachment/view}}.{{GPUTextureView/[[descriptor]]}}.{{GPUTextureViewDescriptor/format}}.
12194- - Let |usage| be |this|.{{GPURenderPassDepthStencilAttachment/view}}.{{GPUTextureView/[[descriptor]]}}.{{GPUTextureViewDescriptor/usage}}.
12195- - All of the requirements in the following steps |must| be met.
12193+ 1. Let |format| be |this|.{{GPURenderPassDepthStencilAttachment/view}}.{{GPUTextureView/[[descriptor]]}}.{{GPUTextureViewDescriptor/format}}.
12194+ 1. Let |usage| be |this|.{{GPURenderPassDepthStencilAttachment/view}}.{{GPUTextureView/[[descriptor]]}}.{{GPUTextureViewDescriptor/usage}}.
12195+ 1. All of the requirements in the following steps |must| be met.
1219612196 <div class=validusage>
12197- - |this|.{{GPURenderPassDepthStencilAttachment/view}} |must| have a [=depth-or-stencil format=].
12198- - |this|.{{GPURenderPassDepthStencilAttachment/view}} |must| be a [$renderable texture view$].
12199- - If |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} is {{GPULoadOp/"clear"}},
12197+ 1. |this|.{{GPURenderPassDepthStencilAttachment/view}} |must| have a [=depth-or-stencil format=].
12198+ 1. |this|.{{GPURenderPassDepthStencilAttachment/view}} |must| be a [$renderable texture view$].
12199+ 1. If |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} is {{GPULoadOp/"clear"}},
1220012200 |this|.{{GPURenderPassDepthStencilAttachment/depthClearValue}} |must| [=map/exist|be provided=] and |must| be between 0.0 and 1.0,
1220112201 inclusive.
1220212202 <!-- POSTV1(unrestricted-depth): unless unrestricted depth is enabled -->
12203- - If |format| has a depth aspect and |this|.{{GPURenderPassDepthStencilAttachment/depthReadOnly}} is `false`:
12204- - |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} |must| [=map/exist|be provided=].
12205- - |this|.{{GPURenderPassDepthStencilAttachment/depthStoreOp}} |must| [=map/exist|be provided=].
12206- - If |usage| includes the {{GPUTextureUsage/TRANSIENT_ATTACHMENT}} bit:
12207- - |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} |must| be {{GPULoadOp/"clear"}}.
12208- - |this|.{{GPURenderPassDepthStencilAttachment/depthStoreOp}} |must| be {{GPUStoreOp/"discard"}}.
12203+ 1. If |format| has a depth aspect and |this|.{{GPURenderPassDepthStencilAttachment/depthReadOnly}} is `false`:
12204+ 1. |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} |must| [=map/exist|be provided=].
12205+ 1. |this|.{{GPURenderPassDepthStencilAttachment/depthStoreOp}} |must| [=map/exist|be provided=].
12206+ 1. If |usage| includes the {{GPUTextureUsage/TRANSIENT_ATTACHMENT}} bit:
12207+ 1. |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} |must| be {{GPULoadOp/"clear"}}.
12208+ 1. |this|.{{GPURenderPassDepthStencilAttachment/depthStoreOp}} |must| be {{GPUStoreOp/"discard"}}.
1220912209
1221012210 Otherwise:
1221112211
12212- - |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} |must| not [=map/exist|be provided=].
12213- - |this|.{{GPURenderPassDepthStencilAttachment/depthStoreOp}} |must| not [=map/exist|be provided=].
12214- - If |format| has a stencil aspect and |this|.{{GPURenderPassDepthStencilAttachment/stencilReadOnly}} is `false`:
12215- - |this|.{{GPURenderPassDepthStencilAttachment/stencilLoadOp}} |must| [=map/exist|be provided=].
12216- - |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| [=map/exist|be provided=].
12217- - If |usage| includes the {{GPUTextureUsage/TRANSIENT_ATTACHMENT}} bit:
12218- - |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| be {{GPULoadOp/"clear"}}.
12219- - |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| be {{GPUStoreOp/"discard"}}.
12212+ 1. |this|.{{GPURenderPassDepthStencilAttachment/depthLoadOp}} |must| not [=map/exist|be provided=].
12213+ 1. |this|.{{GPURenderPassDepthStencilAttachment/depthStoreOp}} |must| not [=map/exist|be provided=].
12214+ 1. If |format| has a stencil aspect and |this|.{{GPURenderPassDepthStencilAttachment/stencilReadOnly}} is `false`:
12215+ 1. |this|.{{GPURenderPassDepthStencilAttachment/stencilLoadOp}} |must| [=map/exist|be provided=].
12216+ 1. |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| [=map/exist|be provided=].
12217+ 1. If |usage| includes the {{GPUTextureUsage/TRANSIENT_ATTACHMENT}} bit:
12218+ 1. |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| be {{GPULoadOp/"clear"}}.
12219+ 1. |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| be {{GPUStoreOp/"discard"}}.
1222012220
1222112221 Otherwise:
1222212222
12223- - |this|.{{GPURenderPassDepthStencilAttachment/stencilLoadOp}} |must| not [=map/exist|be provided=].
12224- - |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| not [=map/exist|be provided=].
12223+ 1. |this|.{{GPURenderPassDepthStencilAttachment/stencilLoadOp}} |must| not [=map/exist|be provided=].
12224+ 1. |this|.{{GPURenderPassDepthStencilAttachment/stencilStoreOp}} |must| not [=map/exist|be provided=].
1222512225 </div>
1222612226</div>
1222712227