[llvm-branch-commits] [DirectX] Lower `@llvm.dx.typedBufferStore` to DXIL ops (PR #104253)
Farzon Lotfi via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Sep 9 16:09:08 PDT 2024
================
@@ -361,11 +361,60 @@ Examples:
- ``i32``
- Index into the buffer
+Texture and Typed Buffer Stores
+-------------------------------
+
+*relevant types: Textures and TypedBuffer*
+
+The `TextureStore`_ and `BufferStore`_ DXIL operations can only be used to
+write all 4 32-bit elements to a texture or a typed buffer. Note that both of
+these operations do have a mask parameter, but it is documented that it must
+cover all components for these types.
----------------
farzonl wrote:
```suggestion
always cover all components when used with these types.
```
https://github.com/llvm/llvm-project/pull/104253
More information about the llvm-branch-commits
mailing list