Skip to content

Commit 87c84d7

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@8010203 🚀
1 parent 2d11de6 commit 87c84d7

File tree

139 files changed

+508
-626
lines changed

Some content is hidden

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

139 files changed

+508
-626
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_core/wgpu_core-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/wgpu_core/command/compute.rs.html

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,15 +1332,13 @@
13321332
<a href="#1331" id="1331">1331</a>
13331333
<a href="#1332" id="1332">1332</a>
13341334
<a href="#1333" id="1333">1333</a>
1335-
<a href="#1334" id="1334">1334</a>
1336-
<a href="#1335" id="1335">1335</a>
1337-
<a href="#1336" id="1336">1336</a>
1338-
<a href="#1337" id="1337">1337</a></pre></div><pre class="rust"><code><span class="kw">use </span>thiserror::Error;
1335+
<a href="#1334" id="1334">1334</a></pre></div><pre class="rust"><code><span class="kw">use </span>thiserror::Error;
13391336
<span class="kw">use </span>wgt::{BufferAddress, DynamicOffset};
13401337

13411338
<span class="kw">use </span>alloc::{borrow::Cow, boxed::Box, sync::Arc, vec::Vec};
13421339
<span class="kw">use </span>core::{fmt, str};
13431340

1341+
<span class="kw">use </span><span class="kw">crate</span>::ray_tracing::AsAction;
13441342
<span class="kw">use crate</span>::{
13451343
binding_model::{
13461344
BindError, BindGroup, LateMinBufferBindingSizeMismatch, PushConstantUploadError,
@@ -1361,7 +1359,6 @@
13611359
hal_label, id,
13621360
init_tracker::{BufferInitTrackerAction, MemoryInitKind},
13631361
pipeline::ComputePipeline,
1364-
ray_tracing::TlasAction,
13651362
resource::{
13661363
<span class="self">self</span>, Buffer, DestroyedResourceError, InvalidResourceError, Labeled,
13671364
MissingBufferUsageError, ParentDevice,
@@ -1545,7 +1542,7 @@
15451542
tracker: <span class="kw-2">&amp;</span><span class="lifetime">'cmd_buf </span><span class="kw-2">mut </span>Tracker,
15461543
buffer_memory_init_actions: <span class="kw-2">&amp;</span><span class="lifetime">'cmd_buf </span><span class="kw-2">mut </span>Vec&lt;BufferInitTrackerAction&gt;,
15471544
texture_memory_actions: <span class="kw-2">&amp;</span><span class="lifetime">'cmd_buf </span><span class="kw-2">mut </span>CommandBufferTextureMemoryActions,
1548-
tlas_actions: <span class="kw-2">&amp;</span><span class="lifetime">'cmd_buf </span><span class="kw-2">mut </span>Vec&lt;TlasAction&gt;,
1545+
as_actions: <span class="kw-2">&amp;</span><span class="lifetime">'cmd_buf </span><span class="kw-2">mut </span>Vec&lt;AsAction&gt;,
15491546

15501547
temp_offsets: Vec&lt;u32&gt;,
15511548
dynamic_offset_count: usize,
@@ -1770,7 +1767,7 @@
17701767
tracker: <span class="kw-2">&amp;mut </span>cmd_buf_data.trackers,
17711768
buffer_memory_init_actions: <span class="kw-2">&amp;mut </span>cmd_buf_data.buffer_memory_init_actions,
17721769
texture_memory_actions: <span class="kw-2">&amp;mut </span>cmd_buf_data.texture_memory_actions,
1773-
tlas_actions: <span class="kw-2">&amp;mut </span>cmd_buf_data.tlas_actions,
1770+
as_actions: <span class="kw-2">&amp;mut </span>cmd_buf_data.as_actions,
17741771

17751772
temp_offsets: Vec::new(),
17761773
dynamic_offset_count: <span class="number">0</span>,
@@ -2017,12 +2014,9 @@
20172014
.used
20182015
.acceleration_structures
20192016
.into_iter()
2020-
.map(|tlas| TlasAction {
2021-
tlas: tlas.clone(),
2022-
kind: <span class="kw">crate</span>::ray_tracing::TlasActionKind::Use,
2023-
});
2017+
.map(|tlas| AsAction::UseTlas(tlas.clone()));
20242018

2025-
state.tlas_actions.extend(used_resource);
2019+
state.as_actions.extend(used_resource);
20262020

20272021
<span class="kw">let </span>pipeline_layout = state.binder.pipeline_layout.clone();
20282022
<span class="kw">let </span>entries = state

doc/src/wgpu_core/command/mod.rs.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,9 +1079,7 @@
10791079
<a href="#1078" id="1078">1078</a>
10801080
<a href="#1079" id="1079">1079</a>
10811081
<a href="#1080" id="1080">1080</a>
1082-
<a href="#1081" id="1081">1081</a>
1083-
<a href="#1082" id="1082">1082</a>
1084-
<a href="#1083" id="1083">1083</a></pre></div><pre class="rust"><code><span class="kw">mod </span>allocator;
1082+
<a href="#1081" id="1081">1081</a></pre></div><pre class="rust"><code><span class="kw">mod </span>allocator;
10851083
<span class="kw">mod </span>bind;
10861084
<span class="kw">mod </span>bundle;
10871085
<span class="kw">mod </span>clear;
@@ -1119,7 +1117,7 @@
11191117
<span class="kw">use </span><span class="kw">crate</span>::snatch::SnatchGuard;
11201118

11211119
<span class="kw">use </span><span class="kw">crate</span>::init_tracker::BufferInitTrackerAction;
1122-
<span class="kw">use </span><span class="kw">crate</span>::ray_tracing::{BlasAction, TlasAction};
1120+
<span class="kw">use </span><span class="kw">crate</span>::ray_tracing::AsAction;
11231121
<span class="kw">use </span><span class="kw">crate</span>::resource::{Fallible, InvalidResourceError, Labeled, ParentDevice <span class="kw">as _</span>, QuerySet};
11241122
<span class="kw">use </span><span class="kw">crate</span>::storage::Storage;
11251123
<span class="kw">use </span><span class="kw">crate</span>::track::{DeviceTracker, Tracker, UsageScope};
@@ -1546,8 +1544,7 @@
15461544

15471545
<span class="kw">pub</span>(<span class="kw">crate</span>) pending_query_resets: QueryResetMap,
15481546

1549-
blas_actions: Vec&lt;BlasAction&gt;,
1550-
tlas_actions: Vec&lt;TlasAction&gt;,
1547+
as_actions: Vec&lt;AsAction&gt;,
15511548
temp_resources: Vec&lt;TempResource&gt;,
15521549

15531550
indirect_draw_validation_resources: <span class="kw">crate</span>::indirect_validation::DrawResources,
@@ -1636,8 +1633,7 @@
16361633
buffer_memory_init_actions: Default::default(),
16371634
texture_memory_actions: Default::default(),
16381635
pending_query_resets: QueryResetMap::new(),
1639-
blas_actions: Default::default(),
1640-
tlas_actions: Default::default(),
1636+
as_actions: Default::default(),
16411637
temp_resources: Default::default(),
16421638
indirect_draw_validation_resources:
16431639
<span class="kw">crate</span>::indirect_validation::DrawResources::new(device.clone()),

0 commit comments

Comments
 (0)