MaikKlein / rlsl

Rust to SPIR-V compiler
Apache License 2.0
557 stars 14 forks source link

Map bool to u32 because OpTypeBool is abstract #61

Open MaikKlein opened 6 years ago

MaikKlein commented 6 years ago

Currently bool maps to OpTypeBool, but this value is abstract and it can't be cast. To be honest I don't really see the point of OpTypeBool. We should just map it to an u32.