We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
subgroupBroadcast
1 parent f6dd3a4 commit 214396aCopy full SHA for 214396a
naga/src/back/spv/subgroup.rs
@@ -135,13 +135,15 @@ impl BlockContext<'_> {
135
&[spirv::Capability::GroupNonUniformBallot],
136
)?;
137
match *mode {
138
- crate::GatherMode::BroadcastFirst | crate::GatherMode::Broadcast(_) => {
+ crate::GatherMode::BroadcastFirst => {
139
self.writer.require_any(
140
"GroupNonUniformBallot",
141
142
143
}
144
- crate::GatherMode::Shuffle(_) | crate::GatherMode::ShuffleXor(_) => {
+ crate::GatherMode::Shuffle(_)
145
+ | crate::GatherMode::ShuffleXor(_)
146
+ | crate::GatherMode::Broadcast(_) => {
147
148
"GroupNonUniformShuffle",
149
&[spirv::Capability::GroupNonUniformShuffle],
0 commit comments