diff options
author | joaosaffran <126493771+joaosaffran@users.noreply.github.com> | 2025-06-17 11:16:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-17 11:16:09 -0700 |
commit | 2ab9c35ea93f8557827d4cadcceb05e4eed2d30a (patch) | |
tree | 3f03df93da9ca2d663b461e87dcccff31a98baf1 /llvm/lib/Transforms/Utils/LoopPeel.cpp | |
parent | 31523de4b000ca254259ae3167d28922e1302648 (diff) | |
download | llvm-2ab9c35ea93f8557827d4cadcceb05e4eed2d30a.zip llvm-2ab9c35ea93f8557827d4cadcceb05e4eed2d30a.tar.gz llvm-2ab9c35ea93f8557827d4cadcceb05e4eed2d30a.tar.bz2 |
[DXContainer] Update DXContainer to match D3D12 spec (#143201)
Update the descriptor range flag values in DXContainerConstants.def to
match
the Direct3D12 specification. This changes two aspects:
1. Modify the DESCRIPTOR_RANGE_FLAG macro to use direct values instead
of
bit shifts
2. Update the flag values to use hex notation and match D3D12's
D3D12_DESCRIPTOR_RANGE_FLAGS enumeration:
- DESCRIPTORS_VOLATILE: 0x1
- DATA_VOLATILE: 0x2
- DATA_STATIC_WHILE_SET_AT_EXECUTE: 0x4
- DATA_STATIC: 0x8
- DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS: 0x10000
3. Removed NONE value from ROOT_DESCRIPTOR_FLAG
This ensures better compatibility with the D3D12 API and makes the
values
more explicit in the code.
Requested here:
https://github.com/llvm/llvm-project/pull/138315#discussion_r2132818269
---------
Co-authored-by: joaosaffran <joao.saffran@microsoft.com>
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopPeel.cpp')
0 files changed, 0 insertions, 0 deletions