This issue tracks implementing the DXC `rootsig-define` compiler option. The behaviour should follow the specification [here](https://github.com/llvm/wg-hlsl/blob/main/proposals/0029-root-signature-driver-options.md#option--rootsig-define). AC: - [ ] Implement the `rootsig-define` driver option in `clang-dxc` - [ ] Implement `fdx-rootsignature-define` driver option in `clang` and `cc1` - [ ] Update `ParseDeclCXX.cpp` to invoke a parse of the root signature denoted with `rootsig-define` - [ ] Update `SemaHLSL.cpp` to only attach an attribute if it is the entry function
This issue tracks implementing the DXC
rootsig-definecompiler option.The behaviour should follow the specification here.
AC:
rootsig-definedriver option inclang-dxcfdx-rootsignature-definedriver option inclangandcc1ParseDeclCXX.cppto invoke a parse of the root signature denoted withrootsig-defineSemaHLSL.cppto only attach an attribute if it is the entry function