[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:07:31 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
----------------
farzonl wrote:

```suggestion
 write all four 32-bit elements (components) at once to a texture or a typed buffer.
```

https://github.com/llvm/llvm-project/pull/104253


More information about the llvm-branch-commits mailing list