[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:08:50 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
----------------
farzonl wrote:

```suggestion
While both operations include a mask parameter, it is specified that the mask must
```

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


More information about the llvm-branch-commits mailing list