Skip to content

Commit aaca263

Browse files
Editorial review: Add note about bgra8unorm read-only storage textures bring deprecated (#41840)
Add note about bgra8unorm read-only storage textures bring deprecated
1 parent ab03131 commit aaca263

File tree

1 file changed

+2
-0
lines changed
  • files/en-us/web/api/gpudevice/createbindgrouplayout

1 file changed

+2
-0
lines changed

files/en-us/web/api/gpudevice/createbindgrouplayout/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ The resource layout object can be one of the following (see also {{domxref("GPUD
8484

8585
- `format`
8686
- : An enumerated value specifying the required format of texture views bound to this binding. See the specification's [Texture Formats](https://gpuweb.github.io/gpuweb/#enumdef-gputextureformat) section for all the available `format` values. Also see [Tier 1 and Tier 2 texture formats](/en-US/docs/Web/API/GPUDevice/createTexture#tier_1_and_tier_2_texture_formats).
87+
> [!NOTE]
88+
> Use of the `bgra8unorm` format for read-only storage textures is deprecated. The specification explicitly disallows this, as this format is intended for write-only access and is not portable. Any browser support for this combination is considered a bug.
8789
- `viewDimension` {{optional_inline}}
8890
- : An enumerated value specifying the required dimension for texture views bound to this binding. Possible values are:
8991
- `"1d"`: The texture is viewed as a one-dimensional image.

0 commit comments

Comments
 (0)