Modernize enumerations with `enum class`, `nameof` and `constexpr`.
wuye9036 opened this issue · 1 comments
wuye9036 commented
Modernize enumerations with enum class
, nameof
and constexpr
.
wuye9036 commented
Refactor goals after investigation:
- The name of enums only needed on
operators
andbuiltin_types
. Other type names are not needed. node_ids
are not needed if the implementation of attributes are refactored to modern type erasure excepttype
.builtin_types
in shader compiler will merged with the same one inshader.h
.enum
s will be header-only.