Skip to content

Commit e6da69c

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@2a58599 🚀
1 parent 9ee83ac commit e6da69c

File tree

14 files changed

+9
-52
lines changed

14 files changed

+9
-52
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/src/wgpu/api/device.rs.html

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<a href=#58 id=58 data-nosnippet>58</a> <span class="kw">use </span>core::future::Future <span class="kw">as _</span>;
5959
<a href=#59 id=59 data-nosnippet>59</a> <span class="kw">use </span>core::pin::pin;
6060
<a href=#60 id=60 data-nosnippet>60</a> <span class="kw">use </span>core::task;
61-
<a href=#61 id=61 data-nosnippet>61</a> <span class="kw">let </span>ctx = <span class="kw-2">&amp;mut </span>task::Context::from_waker(waker::noop_waker_ref());
61+
<a href=#61 id=61 data-nosnippet>61</a> <span class="kw">let </span>ctx = <span class="kw-2">&amp;mut </span>task::Context::from_waker(task::Waker::noop());
6262
<a href=#62 id=62 data-nosnippet>62</a>
6363
<a href=#63 id=63 data-nosnippet>63</a> <span class="kw">let </span>instance = Instance::new(<span class="kw-2">&amp;</span>InstanceDescriptor {
6464
<a href=#64 id=64 data-nosnippet>64</a> backends: Backends::NOOP,
@@ -794,37 +794,4 @@
794794
<a href=#794 id=794 data-nosnippet>794</a> Error::Internal { description, .. } =&gt; f.write_str(description),
795795
<a href=#795 id=795 data-nosnippet>795</a> }
796796
<a href=#796 id=796 data-nosnippet>796</a> }
797-
<a href=#797 id=797 data-nosnippet>797</a>}
798-
<a href=#798 id=798 data-nosnippet>798</a>
799-
<a href=#799 id=799 data-nosnippet>799</a><span class="comment">// Copied from [`futures::task::noop_waker`].
800-
<a href=#800 id=800 data-nosnippet>800</a>// Needed until MSRV is 1.85 with `task::Waker::noop()` available
801-
<a href=#801 id=801 data-nosnippet>801</a></span><span class="attr">#[cfg(feature = <span class="string">"noop"</span>)]
802-
<a href=#802 id=802 data-nosnippet>802</a></span><span class="kw">mod </span>waker {
803-
<a href=#803 id=803 data-nosnippet>803</a> <span class="kw">use </span>core::ptr::null;
804-
<a href=#804 id=804 data-nosnippet>804</a> <span class="kw">use </span>core::task::{RawWaker, RawWakerVTable, Waker};
805-
<a href=#805 id=805 data-nosnippet>805</a>
806-
<a href=#806 id=806 data-nosnippet>806</a> <span class="kw">unsafe fn </span>noop_clone(_data: <span class="kw-2">*const </span>()) -&gt; RawWaker {
807-
<a href=#807 id=807 data-nosnippet>807</a> noop_raw_waker()
808-
<a href=#808 id=808 data-nosnippet>808</a> }
809-
<a href=#809 id=809 data-nosnippet>809</a>
810-
<a href=#810 id=810 data-nosnippet>810</a> <span class="kw">unsafe fn </span>noop(_data: <span class="kw-2">*const </span>()) {}
811-
<a href=#811 id=811 data-nosnippet>811</a>
812-
<a href=#812 id=812 data-nosnippet>812</a> <span class="kw">const </span>NOOP_WAKER_VTABLE: RawWakerVTable = RawWakerVTable::new(noop_clone, noop, noop, noop);
813-
<a href=#813 id=813 data-nosnippet>813</a>
814-
<a href=#814 id=814 data-nosnippet>814</a> <span class="kw">const fn </span>noop_raw_waker() -&gt; RawWaker {
815-
<a href=#815 id=815 data-nosnippet>815</a> RawWaker::new(null(), <span class="kw-2">&amp;</span>NOOP_WAKER_VTABLE)
816-
<a href=#816 id=816 data-nosnippet>816</a> }
817-
<a href=#817 id=817 data-nosnippet>817</a>
818-
<a href=#818 id=818 data-nosnippet>818</a> <span class="doccomment">/// Get a static reference to a [`Waker`] which
819-
<a href=#819 id=819 data-nosnippet>819</a> /// does nothing when `wake()` is called on it.
820-
<a href=#820 id=820 data-nosnippet>820</a> </span><span class="attr">#[inline]
821-
<a href=#821 id=821 data-nosnippet>821</a> </span><span class="kw">pub fn </span>noop_waker_ref() -&gt; <span class="kw-2">&amp;</span><span class="lifetime">'static </span>Waker {
822-
<a href=#822 id=822 data-nosnippet>822</a> <span class="kw">struct </span>SyncRawWaker(RawWaker);
823-
<a href=#823 id=823 data-nosnippet>823</a> <span class="kw">unsafe impl </span>Sync <span class="kw">for </span>SyncRawWaker {}
824-
<a href=#824 id=824 data-nosnippet>824</a>
825-
<a href=#825 id=825 data-nosnippet>825</a> <span class="kw">static </span>NOOP_WAKER_INSTANCE: SyncRawWaker = SyncRawWaker(noop_raw_waker());
826-
<a href=#826 id=826 data-nosnippet>826</a>
827-
<a href=#827 id=827 data-nosnippet>827</a> <span class="comment">// SAFETY: `Waker` is #[repr(transparent)] over its `RawWaker`.
828-
<a href=#828 id=828 data-nosnippet>828</a> </span><span class="kw">unsafe </span>{ <span class="kw-2">&amp;*</span>(<span class="kw-2">&amp;</span>NOOP_WAKER_INSTANCE.<span class="number">0 </span><span class="kw">as </span><span class="kw-2">*const </span>RawWaker <span class="kw">as </span><span class="kw-2">*const </span>Waker) }
829-
<a href=#829 id=829 data-nosnippet>829</a> }
830-
<a href=#830 id=830 data-nosnippet>830</a>}</code></pre></div></section></main></body></html>
797+
<a href=#797 id=797 data-nosnippet>797</a>}</code></pre></div></section></main></body></html>

doc/wgpu/all.html

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

doc/wgpu/api/device/index.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="API documentation for the Rust `device` mod in crate `wgpu`."><title>wgpu::api::device - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.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-1a91846b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="wgpu" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0 (6b00bc388 2025-06-23)" data-channel="1.88.0" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-4e99c027.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-7ef8a74a.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"><!--[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="../../../wgpu/index.html"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../wgpu/index.html"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png" alt="logo"></a><h2><a href="../../../wgpu/index.html">wgpu</a><span class="version">27.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module device</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In wgpu::<wbr>api</a></h2></div></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">wgpu</a>::<wbr><a href="../index.html">api</a></div><h1>Module <span>device</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/wgpu/api/device.rs.html#1-830">Source</a> </span></div><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="waker/index.html" title="mod wgpu::api::device::waker">waker</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Device.html" title="struct wgpu::api::device::Device">Device</a></dt><dd>Open connection to a graphics and/or compute device.</dd><dt><a class="struct" href="struct.RequestDeviceError.html" title="struct wgpu::api::device::RequestDeviceError">Request<wbr>Device<wbr>Error</a></dt><dd>Requesting a device from an <a href="../../struct.Adapter.html" title="struct wgpu::Adapter"><code>Adapter</code></a> failed.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Error.html" title="enum wgpu::api::device::Error">Error</a></dt><dd>Errors resulting from usage of GPU APIs.</dd><dt><a class="enum" href="enum.ErrorFilter.html" title="enum wgpu::api::device::ErrorFilter">Error<wbr>Filter</a></dt><dd>Kinds of <a href="../../enum.Error.html" title="enum wgpu::Error"><code>Error</code></a>s a <a href="../../struct.Device.html#method.push_error_scope" title="method wgpu::Device::push_error_scope"><code>Device::push_error_scope()</code></a> may be configured to catch.</dd><dt><a class="enum" href="enum.RequestDeviceErrorKind.html" title="enum wgpu::api::device::RequestDeviceErrorKind">Request<wbr>Device<wbr>Error<wbr>Kind</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.UncapturedErrorHandler.html" title="trait wgpu::api::device::UncapturedErrorHandler">Uncaptured<wbr>Error<wbr>Handler</a></dt><dd>The callback of <a href="../../struct.Device.html#method.on_uncaptured_error" title="method wgpu::Device::on_uncaptured_error"><code>Device::on_uncaptured_error()</code></a>.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.DeviceDescriptor.html" title="type wgpu::api::device::DeviceDescriptor">Device<wbr>Descriptor</a></dt><dd>Describes a <a href="../../struct.Device.html" title="struct wgpu::Device"><code>Device</code></a>.</dd><dt><a class="type" href="type.ErrorSource.html" title="type wgpu::api::device::ErrorSource">Error<wbr>Source</a></dt><dd>Lower level source of the error.</dd></dl></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="API documentation for the Rust `device` mod in crate `wgpu`."><title>wgpu::api::device - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.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-1a91846b.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="wgpu" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0 (6b00bc388 2025-06-23)" data-channel="1.88.0" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-4e99c027.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-7ef8a74a.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"><!--[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="../../../wgpu/index.html"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../../wgpu/index.html"><img src="https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png" alt="logo"></a><h2><a href="../../../wgpu/index.html">wgpu</a><span class="version">27.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module device</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#types" title="Type Aliases">Type Aliases</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In wgpu::<wbr>api</a></h2></div></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"><div class="rustdoc-breadcrumbs"><a href="../../index.html">wgpu</a>::<wbr><a href="../index.html">api</a></div><h1>Module <span>device</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../../src/wgpu/api/device.rs.html#1-797">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Device.html" title="struct wgpu::api::device::Device">Device</a></dt><dd>Open connection to a graphics and/or compute device.</dd><dt><a class="struct" href="struct.RequestDeviceError.html" title="struct wgpu::api::device::RequestDeviceError">Request<wbr>Device<wbr>Error</a></dt><dd>Requesting a device from an <a href="../../struct.Adapter.html" title="struct wgpu::Adapter"><code>Adapter</code></a> failed.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Error.html" title="enum wgpu::api::device::Error">Error</a></dt><dd>Errors resulting from usage of GPU APIs.</dd><dt><a class="enum" href="enum.ErrorFilter.html" title="enum wgpu::api::device::ErrorFilter">Error<wbr>Filter</a></dt><dd>Kinds of <a href="../../enum.Error.html" title="enum wgpu::Error"><code>Error</code></a>s a <a href="../../struct.Device.html#method.push_error_scope" title="method wgpu::Device::push_error_scope"><code>Device::push_error_scope()</code></a> may be configured to catch.</dd><dt><a class="enum" href="enum.RequestDeviceErrorKind.html" title="enum wgpu::api::device::RequestDeviceErrorKind">Request<wbr>Device<wbr>Error<wbr>Kind</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.UncapturedErrorHandler.html" title="trait wgpu::api::device::UncapturedErrorHandler">Uncaptured<wbr>Error<wbr>Handler</a></dt><dd>The callback of <a href="../../struct.Device.html#method.on_uncaptured_error" title="method wgpu::Device::on_uncaptured_error"><code>Device::on_uncaptured_error()</code></a>.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.DeviceDescriptor.html" title="type wgpu::api::device::DeviceDescriptor">Device<wbr>Descriptor</a></dt><dd>Describes a <a href="../../struct.Device.html" title="struct wgpu::Device"><code>Device</code></a>.</dd><dt><a class="type" href="type.ErrorSource.html" title="type wgpu::api::device::ErrorSource">Error<wbr>Source</a></dt><dd>Lower level source of the error.</dd></dl></section></div></main></body></html>

doc/wgpu/api/device/sidebar-items.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.

0 commit comments

Comments
 (0)