DirectXShaderCompiler
DirectXShaderCompiler copied to clipboard
`enum class` is not a constexpr
Description
Unscoped enums work fine with my integral_constant, scoped don't.
Steps to Reproduce Actual Behavior
Enum Class not constexpr: https://godbolt.org/z/hheGKo9vx
unscoped enum is constexpr: https://godbolt.org/z/7rorK5qoW
Environment
- DXC version: Latest Godbolt
trunk - Host Operating System: Linux I guess?
While we'd consider accepting PR that addresses this issue, we're not planning on investing in fixing this in DXC. This won't be an issue in clang.
This is a duplicate of an issue you already filed: https://github.com/microsoft/DirectXShaderCompiler/issues/5554