wgpu/wgpu-types
Jökull Máni Reynisson ce4668a7ac
const in ShaderStage that represents vertex and fragment access (#1229)
* const in ShaderStage that represents vertex and fragment access

We can store `ShaderStage`s as const values or members of const structs in all individual cases, but for example `ShaderStage::VERTEX | ShaderStage::FRAGMENT` cannot be stored in a const. This is not very elegant, but would be convenient.

* Correct VERTEX_FRAGMENT definition

VERTEX_FRAGMENT definition now follows directly from the bit representation of `ShaderStage::VERTEX` and `Shaderstage::FRAGMENT` such that it does not need to be independently maintained.
2021-02-24 16:37:05 -05:00
..
src const in ShaderStage that represents vertex and fragment access (#1229) 2021-02-24 16:37:05 -05:00
Cargo.toml Update all versions 2021-02-01 00:35:40 -05:00