Open MaikKlein opened 6 years ago
SPIR-V doesn't offer any support for unions, but it should be easy to implement them with MIR. This is needed for space efficient enums.
Not so easy to implement because SPIR-V doesn't support arbitrary casts.
SPIR-V doesn't offer any support for unions, but it should be easy to implement them with MIR. This is needed for space efficient enums.