c4dd1d6040
The `all()` function only represents bitflags known in the core of Vulkan; it omits all bits added by extensions making this function unrepresentative and has hence been scheduled for removal for quite some time to get rid of the confusion it causes. Alternatively the generator could be taught to collect bitflags added by extensions, but new extensions get added over time skewing available values in ash versus the current driver/environment. This makes the value from `all()` unreliable and fragile at best. `-` and `-=` (`sub()` and `sub_assign()`) are also controversial by nature since the underlying value represents an integer but the implemented math uses bitwise operators. This is a confusing design pattern and the caller better replaces their uses - if any at all - with `foo &= !BAR`. |
||
---|---|---|
.. | ||
src | ||
Vulkan-Headers@8c1c27d5a9 | ||
Cargo.toml |