Skip to content

Commit 8fcfcb6

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@214396a 🚀
1 parent 178d813 commit 8fcfcb6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

doc/src/naga/back/spv/subgroup.rs.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,9 @@
205205
<a href="#204" id="204">204</a>
206206
<a href="#205" id="205">205</a>
207207
<a href="#206" id="206">206</a>
208-
<a href="#207" id="207">207</a></pre></div><pre class="rust"><code><span class="kw">use super</span>::{Block, BlockContext, Error, Instruction, NumericType};
208+
<a href="#207" id="207">207</a>
209+
<a href="#208" id="208">208</a>
210+
<a href="#209" id="209">209</a></pre></div><pre class="rust"><code><span class="kw">use super</span>::{Block, BlockContext, Error, Instruction, NumericType};
209211
<span class="kw">use crate</span>::{
210212
arena::Handle,
211213
back::spv::{LocalType, LookupType},
@@ -342,13 +344,15 @@
342344
<span class="kw-2">&amp;</span>[spirv::Capability::GroupNonUniformBallot],
343345
)<span class="question-mark">?</span>;
344346
<span class="kw">match </span><span class="kw-2">*</span>mode {
345-
<span class="kw">crate</span>::GatherMode::BroadcastFirst | <span class="kw">crate</span>::GatherMode::Broadcast(<span class="kw">_</span>) =&gt; {
347+
<span class="kw">crate</span>::GatherMode::BroadcastFirst =&gt; {
346348
<span class="self">self</span>.writer.require_any(
347349
<span class="string">"GroupNonUniformBallot"</span>,
348350
<span class="kw-2">&amp;</span>[spirv::Capability::GroupNonUniformBallot],
349351
)<span class="question-mark">?</span>;
350352
}
351-
<span class="kw">crate</span>::GatherMode::Shuffle(<span class="kw">_</span>) | <span class="kw">crate</span>::GatherMode::ShuffleXor(<span class="kw">_</span>) =&gt; {
353+
<span class="kw">crate</span>::GatherMode::Shuffle(<span class="kw">_</span>)
354+
| <span class="kw">crate</span>::GatherMode::ShuffleXor(<span class="kw">_</span>)
355+
| <span class="kw">crate</span>::GatherMode::Broadcast(<span class="kw">_</span>) =&gt; {
352356
<span class="self">self</span>.writer.require_any(
353357
<span class="string">"GroupNonUniformShuffle"</span>,
354358
<span class="kw-2">&amp;</span>[spirv::Capability::GroupNonUniformShuffle],

0 commit comments

Comments
 (0)