diff options
author | Helena Kotas <hekotas@microsoft.com> | 2025-02-20 10:32:14 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 10:32:14 -0800 |
commit | 19af8581d51b8144f6d041ae1d948443084d8d0b (patch) | |
tree | e556baf8abcea01e933a058db99c2e64e704522b /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 2a7d3f055d4ea86354e314c5cd1f682a4ad5853f (diff) | |
download | llvm-19af8581d51b8144f6d041ae1d948443084d8d0b.zip llvm-19af8581d51b8144f6d041ae1d948443084d8d0b.tar.gz llvm-19af8581d51b8144f6d041ae1d948443084d8d0b.tar.bz2 |
[HLSL] Constant Buffers CodeGen (#124886)
Translates `cbuffer` declaration blocks to `target("dx.CBuffer")` type. Creates global variables in `hlsl_constant` address space for all `cbuffer` constant and adds metadata describing which global constant belongs to which constant buffer. For explicit constant buffer layout information an explicit layout type `target("dx.Layout")` is used. This might change in the future.
The constant globals are temporary and will be removed in upcoming pass that will translate `load` instructions in the `hlsl_constant` address space to constant buffer load intrinsics calls off a CBV handle (#124630, #112992).
See [Constant buffer design
doc](https://github.com/llvm/wg-hlsl/pull/94) for more details.
Fixes #113514, #106596
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions