mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-21 22:33:49 +00:00
test(naga): add missing variants to DirectiveKind::iter
This commit is contained in:
parent
25f0819edd
commit
6934f5ae91
@ -45,7 +45,9 @@ impl DirectiveKind {
|
||||
fn iter() -> impl Iterator<Item = Self> {
|
||||
use strum::IntoEnumIterator;
|
||||
|
||||
UnimplementedDirectiveKind::iter().map(Self::Unimplemented)
|
||||
[Self::Enable, Self::Requires]
|
||||
.into_iter()
|
||||
.chain(UnimplementedDirectiveKind::iter().map(Self::Unimplemented))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user