Skip to content

Commit f4f36f3

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@0f111cb 🚀
1 parent 09c2316 commit f4f36f3

File tree

1,342 files changed

+8742
-7368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,342 files changed

+8742
-7368
lines changed

doc/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.

doc/search.desc/wgpu/wgpu-desc-0-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/search.desc/wgpu/wgpu-desc-1-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/search.desc/wgpu_hal/wgpu_hal-desc-0-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/search.desc/wgpu_types/wgpu_types-desc-0-.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/src-files.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.

doc/src/wgpu/lib.rs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
Dx12BackendOptions, Dx12Compiler, DynamicOffset, Extent3d, Face, Features, FeaturesWGPU,
185185
FeaturesWebGPU, FilterMode, FrontFace, GlBackendOptions, Gles3MinorVersion, HalCounters,
186186
ImageSubresourceRange, IndexFormat, InstanceDescriptor, InstanceFlags, InternalCounters,
187-
Limits, MaintainResult, MemoryHints, MultisampleState, Origin2d, Origin3d,
187+
Limits, MaintainResult, MemoryHints, MultisampleState, NoopBackendOptions, Origin2d, Origin3d,
188188
PipelineStatisticsTypes, PolygonMode, PowerPreference, PredefinedColorSpace, PresentMode,
189189
PresentationTimestamp, PrimitiveState, PrimitiveTopology, PushConstantRange, QueryType,
190190
RenderBundleDepthStencil, SamplerBindingType, SamplerBorderColor, ShaderLocation, ShaderModel,

doc/src/wgpu_core/hal_api.rs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
<span class="kw">const </span>VARIANT: Backend;
3434
}
3535

36-
<span class="kw">impl </span>HalApi <span class="kw">for </span>hal::api::Empty {
37-
<span class="kw">const </span>VARIANT: Backend = Backend::Empty;
36+
<span class="kw">impl </span>HalApi <span class="kw">for </span>hal::api::Noop {
37+
<span class="kw">const </span>VARIANT: Backend = Backend::Noop;
3838
}
3939

4040
<span class="attr">#[cfg(vulkan)]

doc/src/wgpu_core/id.rs.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,19 +360,19 @@
360360
/// any backend, but the corresponding resource types ([`Texture&lt;A&gt;`], for
361361
/// example) are always parameterized by a specific backend `A`.
362362
///
363-
/// So the `T` in `Id&lt;T&gt;` is usually a resource type like `Texture&lt;Empty&gt;`,
364-
/// where [`Empty`] is the `wgpu_hal` dummy back end. These empty types are
363+
/// So the `T` in `Id&lt;T&gt;` is usually a resource type like `Texture&lt;Noop&gt;`,
364+
/// where [`Noop`] is the `wgpu_hal` dummy back end. These empty types are
365365
/// never actually used, beyond just making sure you access each `Storage` with
366366
/// the right kind of identifier. The members of [`Hub&lt;A&gt;`] pair up each
367-
/// `X&lt;Empty&gt;` type with the resource type `X&lt;A&gt;`, for some specific backend
367+
/// `X&lt;Noop&gt;` type with the resource type `X&lt;A&gt;`, for some specific backend
368368
/// `A`.
369369
///
370370
/// [`Global`]: crate::global::Global
371371
/// [`Hub`]: crate::hub::Hub
372372
/// [`Hub&lt;A&gt;`]: crate::hub::Hub
373373
/// [`Texture&lt;A&gt;`]: crate::resource::Texture
374374
/// [`Registry`]: crate::hub::Registry
375-
/// [`Empty`]: hal::api::Empty
375+
/// [`Noop`]: hal::api::Noop
376376
</span><span class="attr">#[repr(transparent)]
377377
#[cfg_attr(any(feature = <span class="string">"serde"</span>, feature = <span class="string">"trace"</span>), derive(serde::Serialize))]
378378
#[cfg_attr(any(feature = <span class="string">"serde"</span>, feature = <span class="string">"replay"</span>), derive(serde::Deserialize))]

doc/src/wgpu_core/instance.rs.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,9 @@
988988
<a href="#987" id="987">987</a>
989989
<a href="#988" id="988">988</a>
990990
<a href="#989" id="989">989</a>
991-
<a href="#990" id="990">990</a></pre></div><pre class="rust"><code><span class="kw">use </span>std::borrow::Cow;
991+
<a href="#990" id="990">990</a>
992+
<a href="#991" id="991">991</a>
993+
<a href="#992" id="992">992</a></pre></div><pre class="rust"><code><span class="kw">use </span>std::borrow::Cow;
992994
<span class="kw">use </span>std::sync::Arc;
993995

994996
<span class="kw">use </span>hashbrown::HashMap;
@@ -1097,6 +1099,8 @@
10971099
</span>init(hal::api::Dx12, instance_desc, <span class="kw-2">&amp;mut </span>instance_per_backend);
10981100
<span class="attr">#[cfg(gles)]
10991101
</span>init(hal::api::Gles, instance_desc, <span class="kw-2">&amp;mut </span>instance_per_backend);
1102+
<span class="attr">#[cfg(feature = <span class="string">"noop"</span>)]
1103+
</span>init(hal::api::Noop, instance_desc, <span class="kw-2">&amp;mut </span>instance_per_backend);
11001104

11011105
<span class="self">Self </span>{
11021106
name: name.to_string(),

0 commit comments

Comments
 (0)