[llvm-branch-commits] [DXIL][Analysis] Make alignment on StructuredBuffer optional (PR #100697)

Farzon Lotfi via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 26 13:24:13 PDT 2024


farzonl wrote:

> HLSL allows StructuredBuffer<> to be defined with scalar or up-to-4-element vectors as well as with structs, but when doing so `dxc` doesn't set the alignment. Emulate this behaviour.

*behavior

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


More information about the llvm-branch-commits mailing list