[HLSL] Reject initializers on cbuffer fields
Open
HLSL
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
Initializers on cbuffer fields were a feature supported by FXC to populate reflection data, but have never been supported by DXC. Because they do not actually initialize values, TC57 has proposed making initializers on cbuffer fields illegal in [[0004] - 202x removals](https://github.com/hlsl-tc57/tc57/blob/main/proposals/0004-202x-removals.md).
Contributor guide
Assessment
This issue has not been assessed yet.