Skip to content

Commit d87fd95

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@5633ae8 🚀
1 parent 9f500cc commit d87fd95

19 files changed

+433
-417
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/backend/wgpu_core.rs.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2577,13 +2577,13 @@
25772577
<a href=#2577 id=2577 data-nosnippet>2577</a>
25782578
<a href=#2578 id=2578 data-nosnippet>2578</a> <span class="kw">fn </span>finish(<span class="kw-2">&amp;mut </span><span class="self">self</span>) -&gt; dispatch::DispatchCommandBuffer {
25792579
<a href=#2579 id=2579 data-nosnippet>2579</a> <span class="kw">let </span>descriptor = wgt::CommandBufferDescriptor::default();
2580-
<a href=#2580 id=2580 data-nosnippet>2580</a> <span class="kw">let </span>(id, error) = <span class="self">self
2581-
<a href=#2581 id=2581 data-nosnippet>2581</a> </span>.context
2582-
<a href=#2582 id=2582 data-nosnippet>2582</a> .<span class="number">0
2583-
<a href=#2583 id=2583 data-nosnippet>2583</a> </span>.command_encoder_finish(<span class="self">self</span>.id, <span class="kw-2">&amp;</span>descriptor, <span class="prelude-val">None</span>);
2584-
<a href=#2584 id=2584 data-nosnippet>2584</a> <span class="kw">if let </span><span class="prelude-val">Some</span>(cause) = error {
2580+
<a href=#2580 id=2580 data-nosnippet>2580</a> <span class="kw">let </span>(id, opt_label_and_error) =
2581+
<a href=#2581 id=2581 data-nosnippet>2581</a> <span class="self">self</span>.context
2582+
<a href=#2582 id=2582 data-nosnippet>2582</a> .<span class="number">0
2583+
<a href=#2583 id=2583 data-nosnippet>2583</a> </span>.command_encoder_finish(<span class="self">self</span>.id, <span class="kw-2">&amp;</span>descriptor, <span class="prelude-val">None</span>);
2584+
<a href=#2584 id=2584 data-nosnippet>2584</a> <span class="kw">if let </span><span class="prelude-val">Some</span>((label, cause)) = opt_label_and_error {
25852585
<a href=#2585 id=2585 data-nosnippet>2585</a> <span class="self">self</span>.context
2586-
<a href=#2586 id=2586 data-nosnippet>2586</a> .handle_error_nolabel(<span class="kw-2">&amp;</span><span class="self">self</span>.error_sink, cause, <span class="string">"a CommandEncoder"</span>);
2586+
<a href=#2586 id=2586 data-nosnippet>2586</a> .handle_error(<span class="kw-2">&amp;</span><span class="self">self</span>.error_sink, cause, <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>label), <span class="string">"a CommandEncoder"</span>);
25872587
<a href=#2587 id=2587 data-nosnippet>2587</a> }
25882588
<a href=#2588 id=2588 data-nosnippet>2588</a> CoreCommandBuffer {
25892589
<a href=#2589 id=2589 data-nosnippet>2589</a> context: <span class="self">self</span>.context.clone(),

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

Lines changed: 386 additions & 376 deletions
Large diffs are not rendered by default.

doc/type.impl/core/result/enum.Result.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/wgpu_core/command/enum.DrawCommandFamily.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

doc/wgpu_core/command/enum.DrawKind.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

doc/wgpu_core/command/enum.EncoderStateError.html

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

doc/wgpu_core/command/enum.PassErrorScope.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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 `insert_debug_marker` fn in crate `wgpu_core`."><title>insert_debug_marker in wgpu_core::command - 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_core" 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 fn"><!--[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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../wgpu_core/index.html">wgpu_<wbr>core</a><span class="version">27.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In wgpu_<wbr>core::<wbr>command</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_core</a>::<wbr><a href="index.html">command</a></div><h1>Function <span class="fn">insert_debug_marker</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_core/command/mod.rs.html#1730-1743">Source</a> </span></div><pre class="rust item-decl"><code>pub(crate) fn insert_debug_marker(
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 `insert_debug_marker` fn in crate `wgpu_core`."><title>insert_debug_marker in wgpu_core::command - 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_core" 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 fn"><!--[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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../wgpu_core/index.html">wgpu_<wbr>core</a><span class="version">27.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In wgpu_<wbr>core::<wbr>command</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_core</a>::<wbr><a href="index.html">command</a></div><h1>Function <span class="fn">insert_debug_marker</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_core/command/mod.rs.html#1740-1753">Source</a> </span></div><pre class="rust item-decl"><code>pub(crate) fn insert_debug_marker(
22
state: &amp;mut <a class="struct" href="encoder/struct.EncodingState.html" title="struct wgpu_core::command::encoder::EncodingState">EncodingState</a>&lt;'_, '_&gt;,
33
label: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.str.html">str</a>,
44
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.88.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.CommandEncoderError.html" title="enum wgpu_core::command::CommandEncoderError">CommandEncoderError</a>&gt;</code></pre></section></div></main></body></html>

0 commit comments

Comments
 (0)