Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions spec/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2544,7 +2544,10 @@ note that the set of representable values is not exactly the same:
for depth24unorm, 1 ULP has a constant value of 1 / (2<sup>24</sup> &minus; 1);
for depth32float, 1 ULP has a variable value no greater than 1 / (2<sup>24</sup>).

Issue: {{GPUTextureFormat/"rgb9e5ufloat"}} cannot be used as a color attachment.
A renderable format is either <dfn>color renderable format</dfn>, or <dfn>depth or stencil renderable format</dfn>.
If a format is listed in [[#plain-color-formats]] with {{GPUTextureUsage/RENDER_ATTACHMENT}} capability, it is a
color renderable format. Any other format is not a color renderable format. Any depth/stencil format is a
depth or stencil renderable format. Any other format is not a depth or stencil renderable format.

# Samplers # {#samplers}

Expand Down Expand Up @@ -6153,7 +6156,7 @@ dictionary GPURenderPassColorAttachment {
Given a {{GPURenderPassColorAttachment}} |this| the following validation rules
apply:

1. |this|.{{GPURenderPassColorAttachment/view}} must have a renderable color format.
1. |this|.{{GPURenderPassColorAttachment/view}} must have a [=color renderable format=].
1. |this|.{{GPURenderPassColorAttachment/view}}.{{GPUTextureView/[[texture]]}}.{{GPUTexture/[[textureUsage]]}}
must contain {{GPUTextureUsage/RENDER_ATTACHMENT}}.
1. |this|.{{GPURenderPassColorAttachment/view}} must be a view of a single [=subresource=].
Expand Down Expand Up @@ -6244,8 +6247,8 @@ dictionary GPURenderPassDepthStencilAttachment {
Given a {{GPURenderPassDepthStencilAttachment}} |this| the following validation
rules apply:

1. |this|.{{GPURenderPassDepthStencilAttachment/view}} must have a renderable
depth-and/or-stencil format.
1. |this|.{{GPURenderPassDepthStencilAttachment/view}} must have a [=depth or stencil renderable
format=].
1. |this|.{{GPURenderPassDepthStencilAttachment/view}} must be a view of a
single [=texture subresource=].
1. |this|.{{GPURenderPassDepthStencilAttachment/view}}.{{GPUTexture/[[textureUsage]]}}
Expand Down Expand Up @@ -8329,6 +8332,9 @@ Only formats with {{GPUTextureSampleType}} {{GPUTextureSampleType/"float"}} can
The {{GPUTextureUsage/STORAGE|GPUTextureUsage.STORAGE}} column specifies the support for {{GPUTextureUsage/STORAGE}}
usage in the core API, including both {{GPUStorageTextureAccess/"read-only"}} and {{GPUStorageTextureAccess/"write-only"}}.

The {{GPUTextureUsage/STORAGE|GPUTextureUsage.RENDER_ATTACHMENT}} column specifies the support for
Comment thread
kvark marked this conversation as resolved.
{{GPUTextureUsage/RENDER_ATTACHMENT}} usage in the core API.

<table class='data'>
<thead class=stickyheader>
<tr>
Expand Down