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

Justin Bogner via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 25 22:46:06 PDT 2024


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

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.





More information about the llvm-branch-commits mailing list