llvm / llvm/llvm-project

[HLSL] Add semantic signature packing command line flags

Open
#204,892 0 comments 0 reactions 1 assignee Claimed by @inbelic View on GitHub
HLSL
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

DXC provides two flags to specify the kind of packing that is used when packing signature elements: `-pack-prefix-stable` and `-pack-optimized`.

This issue tracks adding these to the DXC driver mode and as a dx flag in clang.

These should then be used in `emitEntryFunction` to determine how signature packing is invoked, defined here: https://github.com/llvm/llvm-project/issues/57928.

AC:
- [ ] `-pack-prefix-stable` and `-pack-optimized` are DXC driver flags
- [ ] `-fdx-semantic-signature-packing-mode=` is a clang cmd line option
- [ ] Add lit tests to ensure the flags change (or don't) the packing behaviour as expected

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.