[llvm] [DXIL][Analysis] Uniquify duplicate resources in DXILResourceAnalysis (PR #105602)

Damyan Pepper via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 18:15:15 PDT 2024


damyanp wrote:

Should you example be more like this?

```c++
RWBuffer<float4> BufferArray[10] : register(u0, space4);
RWBuffer<float4> B1 = BufferArray[0];
RWBuffer<float4> B2 = BufferArray[SomeIndex];
RWBuffer<float4> B3 = BufferArray[3];
```

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


More information about the llvm-commits mailing list