Skip to content

Commit

Permalink
[editorial] API spec: Fix incorrect end tags (gpuweb#5047)
Browse files Browse the repository at this point in the history
  • Loading branch information
kainino0x authored Jan 22, 2025
1 parent 3dc5313 commit d53c4c1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2374,6 +2374,7 @@ interface GPU {
1. Return either {{GPUTextureFormat/"rgba8unorm"}} or
{{GPUTextureFormat/"bgra8unorm"}}, depending on which format is optimal for
displaying WebGPU canvases on this system.
</div>
</div>
</dl>

Expand Down Expand Up @@ -8796,27 +8797,27 @@ location:
<table class=data>
<tbody>
<tr>
<td><b><code>RGBA<sub>src</src></code></b>
<td><b><code>RGBA<sub>src</sub></code></b>
<td>Color output by the fragment shader for the color attachment.
If the shader doesn't return an alpha channel, src-alpha blend factors cannot be used.
<tr>
<td><b><code>RGBA<sub>src1</src></code></b>
<td><b><code>RGBA<sub>src1</sub></code></b>
<td>Color output by the fragment shader for the color attachment with
<a href="https://gpuweb.github.io/gpuweb/wgsl/#input-output-locations">"@blend_src" attribute</a>
equal to `1`.
If the shader doesn't return an alpha channel, src1-alpha blend factors cannot be used.
<tr>
<td><b><code>RGBA<sub>dst</src></code></b>
<td><b><code>RGBA<sub>dst</sub></code></b>
<td>Color currently in the color attachment.
Missing green/blue/alpha channels default to `0, 0, 1`, respectively.
<tr>
<td><b><code>RGBA<sub>const</src></code></b>
<td><b><code>RGBA<sub>const</sub></code></b>
<td>The current {{RenderState/[[blendConstant]]}}.
<tr>
<td><b><code>RGBA<sub>srcFactor</src></code></b>
<td><b><code>RGBA<sub>srcFactor</sub></code></b>
<td>The source blend factor components, as defined by {{GPUBlendComponent/srcFactor}}.
<tr>
<td><b><code>RGBA<sub>dstFactor</src></code></b>
<td><b><code>RGBA<sub>dstFactor</sub></code></b>
<td>The destination blend factor components, as defined by {{GPUBlendComponent/dstFactor}}.
</tbody>
</table>
Expand Down Expand Up @@ -12251,7 +12252,6 @@ called the render pass encoder can no longer be used.
update the attachment. Validation that requires the store op to not be provided for read-only attachments
is done in [$GPURenderPassDepthStencilAttachment/GPURenderPassDepthStencilAttachment Valid Usage$].
</div>
</div>
</div>
</dl>

Expand Down

0 comments on commit d53c4c1

Please sign in to comment.