ash/generator
Marijn Suijten c4dd1d6040
vk: Remove misleading all()/-/-= function/ops from bitflags (#478)
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`.
2021-11-10 00:35:35 +01:00
..
src vk: Remove misleading all()/-/-= function/ops from bitflags (#478) 2021-11-10 00:35:35 +01:00
Vulkan-Headers@8c1c27d5a9 Update Vulkan-Headers to 1.2.198 (#477) 2021-11-09 22:42:14 +01:00
Cargo.toml Vulkan 1.2.175: Provisional Video Extensions (#417) 2021-06-06 11:00:29 +02:00