summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide/a2-03-wgsl-target-specific.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/user-guide/a2-03-wgsl-target-specific.md b/docs/user-guide/a2-03-wgsl-target-specific.md
index 206da365b..7d1ec87f6 100644
--- a/docs/user-guide/a2-03-wgsl-target-specific.md
+++ b/docs/user-guide/a2-03-wgsl-target-specific.md
@@ -117,6 +117,14 @@ Parameter blocks
Each `ParameterBlock` is assigned its own bind group in WGSL.
+Write-only Textures
+---------------
+
+Many image formats supported by WebGPU can only be accessed in compute shader as a write-only image.
+Use `WTexture2D` type (similar to `RWTexture2D`) to write to an image when possible.
+The write-only texture types are also supported when targeting HLSL/GLSL/SPIR-V/Metal and CUDA.
+
+
Pointers
--------