Skip to content

Commit 30f9707

Browse files
Deploying to gh-pages from @ ae25e1a 🚀
1 parent 5b33a03 commit 30f9707

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

api/search-index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/spirv_std/image/struct.Image.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,21 +128,21 @@
128128
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;I, DIM, ARRAYED&gt;,
129129
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a><div class="where">where
130130
I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Read a texel from an image without a sampler.</p>
131-
</div></details><details class="toggle method-toggle" open><summary><section id="method.write" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#800">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write" class="fn">write</a>&lt;I, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;(
131+
</div></details><details class="toggle method-toggle" open><summary><section id="method.write" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#800">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write" class="fn">write</a>&lt;I&gt;(
132132
&amp;self,
133133
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;I, DIM, ARRAYED&gt;,
134-
texels: impl <a class="trait" href="../trait.Vector.html" title="trait spirv_std::Vector">Vector</a>&lt;SampledType, N&gt;,
134+
texels: SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a>,
135135
)<div class="where">where
136136
I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Write a texel to an image without a sampler.</p>
137137
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::Unknown+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#824-896">Source</a><a href="#impl-Image%3CSampledType,+DIM,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::Unknown+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DIM: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt; <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, DIM, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read-1" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#845">Source</a><h4 class="code-header">pub fn <a href="#method.read-1" class="fn">read</a>&lt;I&gt;(
138138
&amp;self,
139139
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;I, DIM, ARRAYED&gt;,
140140
) -&gt; SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a><div class="where">where
141141
I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Read a texel from an image without a sampler.</p>
142-
</div></details><details class="toggle method-toggle" open><summary><section id="method.write-1" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#874">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write-1" class="fn">write</a>&lt;I, const N: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;(
142+
</div></details><details class="toggle method-toggle" open><summary><section id="method.write-1" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#874">Source</a><h4 class="code-header">pub unsafe fn <a href="#method.write-1" class="fn">write</a>&lt;I&gt;(
143143
&amp;self,
144144
coordinate: impl <a class="trait" href="trait.ImageCoordinate.html" title="trait spirv_std::image::ImageCoordinate">ImageCoordinate</a>&lt;I, DIM, ARRAYED&gt;,
145-
texels: impl <a class="trait" href="../trait.Vector.html" title="trait spirv_std::Vector">Vector</a>&lt;SampledType, N&gt;,
145+
texels: SampledType::<a class="associatedtype" href="trait.SampleType.html#associatedtype.SampleResult" title="type spirv_std::image::SampleType::SampleResult">SampleResult</a>,
146146
)<div class="where">where
147147
I: <a class="trait" href="../trait.Integer.html" title="trait spirv_std::Integer">Integer</a>,</div></h4></section></summary><div class="docblock"><p>Write a texel to an image without a sampler.</p>
148148
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Image%3CSampledType,+%7B+Dimensionality::SubpassData+as+u32+%7D,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::No+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="impl"><a class="src rightside" href="../../src/spirv_std/image.rs.html#898-946">Source</a><a href="#impl-Image%3CSampledType,+%7B+Dimensionality::SubpassData+as+u32+%7D,+DEPTH,+ARRAYED,+MULTISAMPLED,+%7B+Sampled::No+as+u32+%7D,+FORMAT,+COMPONENTS%3E" class="anchor">§</a><h3 class="code-header">impl&lt;SampledType: <a class="trait" href="trait.SampleType.html" title="trait spirv_std::image::SampleType">SampleType</a>&lt;FORMAT, COMPONENTS&gt;, const DEPTH: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const ARRAYED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const MULTISAMPLED: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const FORMAT: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, const COMPONENTS: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt; <a class="struct" href="struct.Image.html" title="struct spirv_std::image::Image">Image</a>&lt;SampledType, { _ }, DEPTH, ARRAYED, MULTISAMPLED, { _ }, FORMAT, COMPONENTS&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.read_subpass" class="method"><a class="src rightside" href="../../src/spirv_std/image.rs.html#919">Source</a><h4 class="code-header">pub fn <a href="#method.read_subpass" class="fn">read_subpass</a>&lt;I&gt;(

api/spirv_std_macros/macro.Image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ <h3 id="arguments"><a class="doc-anchor" href="#arguments">§</a>Arguments</h3>
2323
when set the image format is unknown.
2424
Accepted values: <code>f32</code>, <code>f64</code>, <code>u8</code>, <code>u16</code>, <code>u32</code>, <code>u64</code>, <code>i8</code>, <code>i16</code>, <code>i32</code>, <code>i64</code>.</li>
2525
<li><code>format</code> — The image format of the image, mutually exclusive with <code>type</code>.
26-
Accepted values: Snake case versions of <a href="spirv_std_types::image_params::ImageFormat"><code>ImageFormat</code></a> variants, e.g. <code>rgba32f</code>,
26+
Accepted values: Snake case versions of <a href="../spirv_std_types/image_params/enum.ImageFormat.html" title="enum spirv_std_types::image_params::ImageFormat"><code>ImageFormat</code></a> variants, e.g. <code>rgba32f</code>,
2727
<code>rgba8_snorm</code>.</li>
2828
<li><code>sampled</code> — Whether it is known that the image will be used with a sampler.
2929
Accepted values: <code>true</code> or <code>false</code>. Default: <code>unknown</code>.</li>

api/src/spirv_std/image.rs.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a href=#4 id=4 data-nosnippet>4</a><span class="attr">#[cfg(target_arch = <span class="string">"spirv"</span>)]
55
<a href=#5 id=5 data-nosnippet>5</a></span><span class="kw">use </span><span class="kw">crate</span>::VectorTruncateInto;
66
<a href=#6 id=6 data-nosnippet>6</a><span class="kw">pub use </span><span class="kw">crate</span>::macros::Image;
7-
<a href=#7 id=7 data-nosnippet>7</a><span class="kw">use crate</span>::{Float, Integer, Sampler, Vector};
7+
<a href=#7 id=7 data-nosnippet>7</a><span class="kw">use crate</span>::{Float, Integer, Sampler};
88
<a href=#8 id=8 data-nosnippet>8</a><span class="attr">#[cfg(target_arch = <span class="string">"spirv"</span>)]
99
<a href=#9 id=9 data-nosnippet>9</a></span><span class="kw">use </span>core::arch::asm;
1010
<a href=#10 id=10 data-nosnippet>10</a><span class="kw">use </span>sample_with::{NoneTy, SampleParams, SomeTy};
@@ -799,10 +799,10 @@
799799
<a href=#799 id=799 data-nosnippet>799</a> <span class="doccomment">/// Write a texel to an image without a sampler.
800800
<a href=#800 id=800 data-nosnippet>800</a> </span><span class="attr">#[<span class="kw">crate</span>::macros::gpu_only]
801801
<a href=#801 id=801 data-nosnippet>801</a> #[doc(alias = <span class="string">"OpImageWrite"</span>)]
802-
<a href=#802 id=802 data-nosnippet>802</a> </span><span class="kw">pub unsafe fn </span>write&lt;I, <span class="kw">const </span>N: usize&gt;(
802+
<a href=#802 id=802 data-nosnippet>802</a> </span><span class="kw">pub unsafe fn </span>write&lt;I&gt;(
803803
<a href=#803 id=803 data-nosnippet>803</a> <span class="kw-2">&amp;</span><span class="self">self</span>,
804804
<a href=#804 id=804 data-nosnippet>804</a> coordinate: <span class="kw">impl </span>ImageCoordinate&lt;I, DIM, ARRAYED&gt;,
805-
<a href=#805 id=805 data-nosnippet>805</a> texels: <span class="kw">impl </span>Vector&lt;SampledType, N&gt;,
805+
<a href=#805 id=805 data-nosnippet>805</a> texels: SampledType::SampleResult,
806806
<a href=#806 id=806 data-nosnippet>806</a> ) <span class="kw">where
807807
<a href=#807 id=807 data-nosnippet>807</a> </span>I: Integer,
808808
<a href=#808 id=808 data-nosnippet>808</a> {
@@ -873,10 +873,10 @@
873873
<a href=#873 id=873 data-nosnippet>873</a> <span class="doccomment">/// Write a texel to an image without a sampler.
874874
<a href=#874 id=874 data-nosnippet>874</a> </span><span class="attr">#[<span class="kw">crate</span>::macros::gpu_only]
875875
<a href=#875 id=875 data-nosnippet>875</a> #[doc(alias = <span class="string">"OpImageWrite"</span>)]
876-
<a href=#876 id=876 data-nosnippet>876</a> </span><span class="kw">pub unsafe fn </span>write&lt;I, <span class="kw">const </span>N: usize&gt;(
876+
<a href=#876 id=876 data-nosnippet>876</a> </span><span class="kw">pub unsafe fn </span>write&lt;I&gt;(
877877
<a href=#877 id=877 data-nosnippet>877</a> <span class="kw-2">&amp;</span><span class="self">self</span>,
878878
<a href=#878 id=878 data-nosnippet>878</a> coordinate: <span class="kw">impl </span>ImageCoordinate&lt;I, DIM, ARRAYED&gt;,
879-
<a href=#879 id=879 data-nosnippet>879</a> texels: <span class="kw">impl </span>Vector&lt;SampledType, N&gt;,
879+
<a href=#879 id=879 data-nosnippet>879</a> texels: SampledType::SampleResult,
880880
<a href=#880 id=880 data-nosnippet>880</a> ) <span class="kw">where
881881
<a href=#881 id=881 data-nosnippet>881</a> </span>I: Integer,
882882
<a href=#882 id=882 data-nosnippet>882</a> {

api/type.impl/spirv_std/image/struct.Image.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)