Skip to content

Commit 5333dcf

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@2a456f5 🚀
1 parent 7c47c48 commit 5333dcf

30 files changed

+578
-558
lines changed

doc/naga/all.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

doc/naga/enum.AddressSpace.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</div></details><details class="toggle method-toggle" open><summary><section id="method.needs_access_qualifier" class="method"><a class="src rightside" href="../src/naga/back/msl/writer.rs.html#502-516">source</a><h4 class="code-header">const fn <a href="#method.needs_access_qualifier" class="fn">needs_access_qualifier</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the address space may need a “const” qualifier.</p>
2424
</div></details><section id="method.to_msl_name" class="method"><a class="src rightside" href="../src/naga/back/msl/writer.rs.html#518-526">source</a><h4 class="code-header">const fn <a href="#method.to_msl_name" class="fn">to_msl_name</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;'static <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.str.html">str</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddressSpace-2" class="impl"><a class="src rightside" href="../src/naga/back/spv/helpers.rs.html#71-84">source</a><a href="#impl-AddressSpace-2" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.AddressSpace.html" title="enum naga::AddressSpace">AddressSpace</a></h3></section></summary><div class="impl-items"><section id="method.to_spirv_semantics_and_scope" class="method"><a class="src rightside" href="../src/naga/back/spv/helpers.rs.html#72-83">source</a><h4 class="code-header">pub(super) const fn <a href="#method.to_spirv_semantics_and_scope" class="fn">to_spirv_semantics_and_scope</a>(
2525
self,
26-
) -&gt; (MemorySemantics, Scope)</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddressSpace-3" class="impl"><a class="src rightside" href="../src/naga/proc/mod.rs.html#413-426">source</a><a href="#impl-AddressSpace-3" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.AddressSpace.html" title="enum naga::AddressSpace">AddressSpace</a></h3></section></summary><div class="impl-items"><section id="method.access" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#414-425">source</a><h4 class="code-header">pub fn <a href="#method.access" class="fn">access</a>(self) -&gt; <a class="struct" href="struct.StorageAccess.html" title="struct naga::StorageAccess">StorageAccess</a></h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Arbitrary%3C'arbitrary%3E-for-AddressSpace" class="impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#impl-Arbitrary%3C'arbitrary%3E-for-AddressSpace" class="anchor">§</a><h3 class="code-header">impl&lt;'arbitrary&gt; Arbitrary&lt;'arbitrary&gt; for <a class="enum" href="enum.AddressSpace.html" title="enum naga::AddressSpace">AddressSpace</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arbitrary" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#method.arbitrary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary</a>(u: &amp;mut Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the given unstructured data. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.arbitrary_take_rest" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#method.arbitrary_take_rest" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary_take_rest</a>(u: Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the entirety of the given
26+
) -&gt; (MemorySemantics, Scope)</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-AddressSpace-3" class="impl"><a class="src rightside" href="../src/naga/proc/mod.rs.html#159-172">source</a><a href="#impl-AddressSpace-3" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.AddressSpace.html" title="enum naga::AddressSpace">AddressSpace</a></h3></section></summary><div class="impl-items"><section id="method.access" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#160-171">source</a><h4 class="code-header">pub fn <a href="#method.access" class="fn">access</a>(self) -&gt; <a class="struct" href="struct.StorageAccess.html" title="struct naga::StorageAccess">StorageAccess</a></h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Arbitrary%3C'arbitrary%3E-for-AddressSpace" class="impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#impl-Arbitrary%3C'arbitrary%3E-for-AddressSpace" class="anchor">§</a><h3 class="code-header">impl&lt;'arbitrary&gt; Arbitrary&lt;'arbitrary&gt; for <a class="enum" href="enum.AddressSpace.html" title="enum naga::AddressSpace">AddressSpace</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arbitrary" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#method.arbitrary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary</a>(u: &amp;mut Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the given unstructured data. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.arbitrary_take_rest" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#method.arbitrary_take_rest" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary_take_rest</a>(u: Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the entirety of the given
2727
unstructured data. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#method.size_hint" class="anchor">§</a><h4 class="code-header">fn <a class="fn">size_hint</a>(depth: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>) -&gt; (<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>, <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>&gt;)</h4></section></summary><div class='docblock'>Get a size hint for how many bytes out of an <code>Unstructured</code> this type
2828
needs to construct itself. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.try_size_hint" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#379">source</a><a href="#method.try_size_hint" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_size_hint</a>(
2929
depth: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,

doc/naga/enum.Binding.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
</ul>
4949
<p>When structs appear in input or output types, each member ought to have its
5050
own <a href="enum.Binding.html" title="enum naga::Binding"><code>Binding</code></a>, so structs are simply covered by the third case.</p>
51-
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Binding-1" class="impl"><a class="src rightside" href="../src/naga/proc/mod.rs.html#591-598">source</a><a href="#impl-Binding-1" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Binding.html" title="enum naga::Binding">Binding</a></h3></section></summary><div class="impl-items"><section id="method.to_built_in" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#592-597">source</a><h4 class="code-header">pub const fn <a href="#method.to_built_in" class="fn">to_built_in</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="enum.BuiltIn.html" title="enum naga::BuiltIn">BuiltIn</a>&gt;</h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Arbitrary%3C'arbitrary%3E-for-Binding" class="impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#impl-Arbitrary%3C'arbitrary%3E-for-Binding" class="anchor">§</a><h3 class="code-header">impl&lt;'arbitrary&gt; Arbitrary&lt;'arbitrary&gt; for <a class="enum" href="enum.Binding.html" title="enum naga::Binding">Binding</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arbitrary" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#method.arbitrary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary</a>(u: &amp;mut Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the given unstructured data. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.arbitrary_take_rest" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#method.arbitrary_take_rest" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary_take_rest</a>(u: Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the entirety of the given
51+
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Binding-1" class="impl"><a class="src rightside" href="../src/naga/proc/mod.rs.html#337-344">source</a><a href="#impl-Binding-1" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Binding.html" title="enum naga::Binding">Binding</a></h3></section></summary><div class="impl-items"><section id="method.to_built_in" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#338-343">source</a><h4 class="code-header">pub const fn <a href="#method.to_built_in" class="fn">to_built_in</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="enum.BuiltIn.html" title="enum naga::BuiltIn">BuiltIn</a>&gt;</h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Arbitrary%3C'arbitrary%3E-for-Binding" class="impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#impl-Arbitrary%3C'arbitrary%3E-for-Binding" class="anchor">§</a><h3 class="code-header">impl&lt;'arbitrary&gt; Arbitrary&lt;'arbitrary&gt; for <a class="enum" href="enum.Binding.html" title="enum naga::Binding">Binding</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arbitrary" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#method.arbitrary" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary</a>(u: &amp;mut Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the given unstructured data. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.arbitrary_take_rest" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#method.arbitrary_take_rest" class="anchor">§</a><h4 class="code-header">fn <a class="fn">arbitrary_take_rest</a>(u: Unstructured&lt;'arbitrary&gt;) -&gt; Result&lt;Self&gt;</h4></section></summary><div class='docblock'>Generate an arbitrary value of <code>Self</code> from the entirety of the given
5252
unstructured data. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#method.size_hint" class="anchor">§</a><h4 class="code-header">fn <a class="fn">size_hint</a>(depth: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>) -&gt; (<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>, <a class="enum" href="https://doc.rust-lang.org/1.83.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>&gt;)</h4></section></summary><div class='docblock'>Get a size hint for how many bytes out of an <code>Unstructured</code> this type
5353
needs to construct itself. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.try_size_hint" class="method trait-impl"><a class="src rightside" href="../src/naga/lib.rs.html#945">source</a><a href="#method.try_size_hint" class="anchor">§</a><h4 class="code-header">fn <a class="fn">try_size_hint</a>(
5454
depth: <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.usize.html">usize</a>,

doc/naga/enum.Expression.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ <h5 id="dynamic-indexing-restrictions"><a class="doc-anchor" href="#dynamic-inde
243243
<p>Note: we have to cache any expressions that depend on the control flow,
244244
or otherwise they may be moved into a non-uniform control flow, accidentally.
245245
See the <a href="index.html#expression-evaluation-time">module-level documentation</a> for details.</p>
246-
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Expression-1" class="impl"><a class="src rightside" href="../src/naga/proc/mod.rs.html#519-553">source</a><a href="#impl-Expression-1" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Expression.html" title="enum naga::Expression">Expression</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.needs_pre_emit" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#521-532">source</a><h4 class="code-header">pub const fn <a href="#method.needs_pre_emit" class="fn">needs_pre_emit</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the expression is considered emitted at the start of a function.</p>
247-
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_dynamic_index" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#547-552">source</a><h4 class="code-header">pub const fn <a href="#method.is_dynamic_index" class="fn">is_dynamic_index</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if this expression is a dynamic array/vector/matrix index,
246+
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Expression-1" class="impl"><a class="src rightside" href="../src/naga/proc/mod.rs.html#265-299">source</a><a href="#impl-Expression-1" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Expression.html" title="enum naga::Expression">Expression</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.needs_pre_emit" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#267-278">source</a><h4 class="code-header">pub const fn <a href="#method.needs_pre_emit" class="fn">needs_pre_emit</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the expression is considered emitted at the start of a function.</p>
247+
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_dynamic_index" class="method"><a class="src rightside" href="../src/naga/proc/mod.rs.html#293-298">source</a><h4 class="code-header">pub const fn <a href="#method.is_dynamic_index" class="fn">is_dynamic_index</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.83.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Return true if this expression is a dynamic array/vector/matrix index,
248248
for <a href="enum.Expression.html#variant.Access" title="variant naga::Expression::Access"><code>Access</code></a>.</p>
249249
<p>This method returns true if this expression is a dynamically computed
250250
index, and as such can only be used to index matrices when they appear

0 commit comments

Comments
 (0)