Skip to content

Commit cc120d6

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@623f143 🚀
1 parent 7c72c87 commit cc120d6

File tree

98 files changed

+263
-238
lines changed

Some content is hidden

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

98 files changed

+263
-238
lines changed

doc/help.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-9960930a.css"><link rel="stylesheet" href="./static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="naga" data-themes="" data-resource-suffix="" data-rustdoc-version="1.86.0-nightly (a580b5c37 2025-01-08)" data-channel="nightly" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="./static.files/storage-59e33391.js"></script><script defer src="./static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-044be391.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.86.0-nightly</span></h2></div><div class="version">(a580b5c37 2025-01-08)</div><h2 class="location">Help</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/rustdoc/">rustdoc handbook</a>.</p></section></noscript></section></div></main></body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-9960930a.css"><link rel="stylesheet" href="./static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="wgpu_test" data-themes="" data-resource-suffix="" data-rustdoc-version="1.86.0-nightly (a580b5c37 2025-01-08)" data-channel="nightly" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="./static.files/storage-59e33391.js"></script><script defer src="./static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-044be391.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.86.0-nightly</span></h2></div><div class="version">(a580b5c37 2025-01-08)</div><h2 class="location">Help</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/rustdoc/">rustdoc handbook</a>.</p></section></noscript></section></div></main></body></html>

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/settings.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-9960930a.css"><link rel="stylesheet" href="./static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="naga" data-themes="" data-resource-suffix="" data-rustdoc-version="1.86.0-nightly (a580b5c37 2025-01-08)" data-channel="nightly" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="./static.files/storage-59e33391.js"></script><script defer src="./static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-044be391.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.86.0-nightly</span></h2></div><div class="version">(a580b5c37 2025-01-08)</div><h2 class="location">Settings</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable JavaScript be able to update your settings.</section></noscript><script defer src="./static.files/settings-0f613d39.js"></script></section></div></main></body></html>
1+
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Settings of Rustdoc"><title>Settings</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="./static.files/${f}">`).join(""))</script><link rel="stylesheet" href="./static.files/normalize-9960930a.css"><link rel="stylesheet" href="./static.files/rustdoc-46132b98.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="wgpu_test" data-themes="" data-resource-suffix="" data-rustdoc-version="1.86.0-nightly (a580b5c37 2025-01-08)" data-channel="nightly" data-search-js="search-75f5ac3e.js" data-settings-js="settings-0f613d39.js" ><script src="./static.files/storage-59e33391.js"></script><script defer src="./static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-044be391.svg"></head><body class="rustdoc mod sys"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-9a9549ea.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.86.0-nightly</span></h2></div><div class="version">(a580b5c37 2025-01-08)</div><h2 class="location">Settings</h2><div class="sidebar-elems"></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Rustdoc settings</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section>You need to enable JavaScript be able to update your settings.</section></noscript><script defer src="./static.files/settings-0f613d39.js"></script></section></div></main></body></html>

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,11 @@
328328
<a href="#327" id="327">327</a>
329329
<a href="#328" id="328">328</a>
330330
<a href="#329" id="329">329</a>
331-
<a href="#330" id="330">330</a></pre></div><pre class="rust"><code><span class="kw">use </span>std::{collections::hash_map::Entry, ops::Range, sync::Arc, vec::Drain};
331+
<a href="#330" id="330">330</a>
332+
<a href="#331" id="331">331</a>
333+
<a href="#332" id="332">332</a></pre></div><pre class="rust"><code><span class="kw">use </span>std::{ops::Range, sync::Arc, vec::Drain};
334+
335+
<span class="kw">use </span>hashbrown::hash_map::Entry;
332336

333337
<span class="kw">use crate</span>::{
334338
device::Device,

doc/src/wgpu_core/device/resource.rs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6472,8 +6472,8 @@
64726472
.map(|<span class="kw-2">mut </span>bgl_entry_map| {
64736473
bgl_entry_map.sort();
64746474
<span class="kw">match </span>unique_bind_group_layouts.entry(bgl_entry_map) {
6475-
std::collections::hash_map::Entry::Occupied(v) =&gt; <span class="prelude-val">Ok</span>(Arc::clone(v.get())),
6476-
std::collections::hash_map::Entry::Vacant(e) =&gt; {
6475+
hashbrown::hash_map::Entry::Occupied(v) =&gt; <span class="prelude-val">Ok</span>(Arc::clone(v.get())),
6476+
hashbrown::hash_map::Entry::Vacant(e) =&gt; {
64776477
<span class="kw">match </span><span class="self">self</span>.create_bind_group_layout(
64786478
<span class="kw-2">&amp;</span><span class="prelude-val">None</span>,
64796479
e.key().clone(),

doc/src/wgpu_core/hash_utils.rs.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
/// HashMap using a fast, non-cryptographic hash algorithm.
2020
</span><span class="kw">pub type </span>FastHashMap&lt;K, V&gt; =
21-
std::collections::HashMap&lt;K, V, std::hash::BuildHasherDefault&lt;rustc_hash::FxHasher&gt;&gt;;
21+
hashbrown::HashMap&lt;K, V, std::hash::BuildHasherDefault&lt;rustc_hash::FxHasher&gt;&gt;;
2222
<span class="doccomment">/// HashSet using a fast, non-cryptographic hash algorithm.
2323
</span><span class="kw">pub type </span>FastHashSet&lt;K&gt; =
24-
std::collections::HashSet&lt;K, std::hash::BuildHasherDefault&lt;rustc_hash::FxHasher&gt;&gt;;
24+
hashbrown::HashSet&lt;K, std::hash::BuildHasherDefault&lt;rustc_hash::FxHasher&gt;&gt;;
2525

2626
<span class="doccomment">/// IndexMap using a fast, non-cryptographic hash algorithm.
2727
</span><span class="kw">pub type </span>FastIndexMap&lt;K, V&gt; =

doc/src/wgpu_core/instance.rs.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -985,8 +985,12 @@
985985
<a href="#984" id="984">984</a>
986986
<a href="#985" id="985">985</a>
987987
<a href="#986" id="986">986</a>
988-
<a href="#987" id="987">987</a></pre></div><pre class="rust"><code><span class="kw">use </span>std::sync::Arc;
989-
<span class="kw">use </span>std::{borrow::Cow, collections::HashMap};
988+
<a href="#987" id="987">987</a>
989+
<a href="#988" id="988">988</a>
990+
<a href="#989" id="989">989</a></pre></div><pre class="rust"><code><span class="kw">use </span>std::borrow::Cow;
991+
<span class="kw">use </span>std::sync::Arc;
992+
993+
<span class="kw">use </span>hashbrown::HashMap;
990994

991995
<span class="kw">use crate</span>::{
992996
api_log, api_log_debug,

doc/src/wgpu_core/pool.rs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,11 +309,11 @@
309309
<a href="#308" id="308">308</a>
310310
<a href="#309" id="309">309</a>
311311
<a href="#310" id="310">310</a></pre></div><pre class="rust"><code><span class="kw">use </span>std::{
312-
collections::{hash_map::Entry, HashMap},
313312
hash::Hash,
314313
sync::{Arc, Weak},
315314
};
316315

316+
<span class="kw">use </span>hashbrown::{hash_map::Entry, HashMap};
317317
<span class="kw">use </span>once_cell::sync::OnceCell;
318318

319319
<span class="kw">use </span><span class="kw">crate</span>::lock::{rank, Mutex};

doc/src/wgpu_core/validation.rs.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,9 +1328,11 @@
13281328
<a href="#1327" id="1327">1327</a>
13291329
<a href="#1328" id="1328">1328</a>
13301330
<a href="#1329" id="1329">1329</a>
1331-
<a href="#1330" id="1330">1330</a></pre></div><pre class="rust"><code><span class="kw">use crate</span>::{device::bgl, resource::InvalidResourceError, FastHashMap, FastHashSet};
1331+
<a href="#1330" id="1330">1330</a>
1332+
<a href="#1331" id="1331">1331</a></pre></div><pre class="rust"><code><span class="kw">use crate</span>::{device::bgl, resource::InvalidResourceError, FastHashMap, FastHashSet};
13321333
<span class="kw">use </span>arrayvec::ArrayVec;
1333-
<span class="kw">use </span>std::{collections::hash_map::Entry, fmt};
1334+
<span class="kw">use </span>hashbrown::hash_map::Entry;
1335+
<span class="kw">use </span>std::fmt;
13341336
<span class="kw">use </span>thiserror::Error;
13351337
<span class="kw">use </span>wgt::{BindGroupLayoutEntry, BindingType};
13361338

doc/src/wgpu_hal/gles/egl.rs.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1511,14 +1511,12 @@
15111511
<a href="#1510" id="1510">1510</a>
15121512
<a href="#1511" id="1511">1511</a>
15131513
<a href="#1512" id="1512">1512</a>
1514-
<a href="#1513" id="1513">1513</a>
1515-
<a href="#1514" id="1514">1514</a></pre></div><pre class="rust"><code><span class="kw">use </span>glow::HasContext;
1514+
<a href="#1513" id="1513">1513</a></pre></div><pre class="rust"><code><span class="kw">use </span>glow::HasContext;
1515+
<span class="kw">use </span>hashbrown::HashMap;
15161516
<span class="kw">use </span>once_cell::sync::Lazy;
15171517
<span class="kw">use </span>parking_lot::{MappedMutexGuard, Mutex, MutexGuard, RwLock};
15181518

1519-
<span class="kw">use </span>std::{
1520-
collections::HashMap, ffi, mem::ManuallyDrop, os::raw, ptr, rc::Rc, sync::Arc, time::Duration,
1521-
};
1519+
<span class="kw">use </span>std::{ffi, mem::ManuallyDrop, os::raw, ptr, rc::Rc, sync::Arc, time::Duration};
15221520

15231521
<span class="doccomment">/// The amount of time to wait while trying to obtain a lock to the adapter context
15241522
</span><span class="kw">const </span>CONTEXT_LOCK_TIMEOUT_SECS: u64 = <span class="number">1</span>;

0 commit comments

Comments
 (0)