Justin Bogner
3f22756f39
[DirectX] Lower @llvm.dx.typedBufferLoad to DXIL ops
...
The `@llvm.dx.typedBufferLoad` intrinsic is lowered to `@dx.op.bufferLoad`.
There's some complexity here in translating to scalarized IR, which I've
abstracted out into a function that should be useful for samples, gathers, and
CBuffer loads.
I've also updated the DXILResources.rst docs to match what I'm doing here and
the proposal in llvm/wg-hlsl#59. I've removed the content about stores and raw
buffers for now with the expectation that it will be added along with the work.
Note that this change includes a bit of a hack in how it deals with
`getOverloadKind` for the `dx.ResRet` types - we need to adjust how we deal
with operation overloads to generate a table directly rather than proxy through
the OverloadKind enum, but that's left for a later change here.
Part of #91367
Pull Request: https://github.com/llvm/llvm-project/pull/104252
2024-09-09 13:21:22 -07:00
..
2024-09-04 21:59:42 -04:00
2024-08-31 17:56:06 -04:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-26 13:40:11 -04:00
2024-08-20 16:33:25 -07:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-09-09 13:21:22 -07:00
2024-08-20 16:33:25 -07:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-08-16 10:32:10 -07:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-26 17:42:24 -07:00
2024-08-26 17:42:24 -07:00
2024-08-02 15:13:16 -07:00
2024-08-02 15:13:16 -07:00
2024-08-02 15:13:16 -07:00
2024-08-15 12:16:52 +03:00
2024-05-13 18:50:16 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-08-22 11:13:52 -07:00
2024-08-16 10:32:10 -07:00
2024-08-02 15:13:16 -07:00
2024-08-02 15:13:16 -07:00
2024-08-20 16:33:25 -07:00
2024-04-20 11:13:53 -04:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-08-02 15:13:16 -07:00
2024-08-22 11:13:52 -07:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-15 12:16:52 +03:00
2024-08-15 12:16:52 +03:00
2024-08-15 12:16:52 +03:00
2024-08-15 12:16:52 +03:00
2024-07-12 18:46:22 -04:00
2024-07-12 18:46:22 -04:00
2024-08-05 10:16:37 -07:00
2024-08-02 21:16:24 -07:00
2024-08-02 21:16:24 -07:00
2024-08-02 21:16:24 -07:00
2024-08-02 17:10:43 -07:00
2024-08-15 12:16:52 +03:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-08-13 15:15:19 -07:00
2024-08-14 15:11:34 -07:00
2024-08-16 10:32:10 -07:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-20 12:46:33 -04:00
2024-08-20 12:46:33 -04:00
2024-09-05 12:46:14 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-09-04 22:12:01 -07:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-05-03 14:54:21 -05:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-02 15:13:16 -07:00
2024-08-02 15:13:16 -07:00
2024-08-02 15:13:16 -07:00
2024-07-30 17:25:58 -04:00
2024-08-20 16:33:25 -07:00
2024-07-30 17:25:58 -04:00
2024-07-30 17:25:58 -04:00
2024-09-04 11:27:03 +02:00