Skip to content

Commit 7c0d873

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@c51fe57 🚀
1 parent b4fff10 commit 7c0d873

24 files changed

+262
-182
lines changed

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_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/wgpu_types/instance.rs.html

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,27 @@
600600
<a href="#599" id="599">599</a>
601601
<a href="#600" id="600">600</a>
602602
<a href="#601" id="601">601</a>
603-
<a href="#602" id="602">602</a></pre></div><pre class="rust"><code><span class="doccomment">//! Types for dealing with Instances
603+
<a href="#602" id="602">602</a>
604+
<a href="#603" id="603">603</a>
605+
<a href="#604" id="604">604</a>
606+
<a href="#605" id="605">605</a>
607+
<a href="#606" id="606">606</a>
608+
<a href="#607" id="607">607</a>
609+
<a href="#608" id="608">608</a>
610+
<a href="#609" id="609">609</a>
611+
<a href="#610" id="610">610</a>
612+
<a href="#611" id="611">611</a>
613+
<a href="#612" id="612">612</a>
614+
<a href="#613" id="613">613</a>
615+
<a href="#614" id="614">614</a>
616+
<a href="#615" id="615">615</a>
617+
<a href="#616" id="616">616</a>
618+
<a href="#617" id="617">617</a>
619+
<a href="#618" id="618">618</a>
620+
<a href="#619" id="619">619</a>
621+
<a href="#620" id="620">620</a>
622+
<a href="#621" id="621">621</a>
623+
<a href="#622" id="622">622</a></pre></div><pre class="rust"><code><span class="doccomment">//! Types for dealing with Instances
604624

605625
</span><span class="kw">use </span>alloc::string::String;
606626

@@ -672,9 +692,29 @@
672692
///
673693
/// When `Self::from_env()` is used takes value from `WGPU_DEBUG` environment variable.
674694
</span><span class="kw">const </span>DEBUG = <span class="number">1 </span>&lt;&lt; <span class="number">0</span>;
675-
<span class="doccomment">/// Enable validation, if possible.
695+
<span class="doccomment">/// Enable validation in the backend API, if possible:
676696
///
677-
/// When `Self::from_env()` is used takes value from `WGPU_VALIDATION` environment variable.
697+
/// - On the Direct3D `dx12` backend, this calls [`ID3D12Debug::EnableDebugLayer`][dx12].
698+
///
699+
/// - On the Vulkan backend, this enables the [Vulkan Validation Layer][vvl].
700+
///
701+
/// - On the `gles` backend driving Windows OpenGL, this enables [debug
702+
/// output][gl:do], effectively calling `glEnable(GL_DEBUG_OUTPUT)`.
703+
///
704+
/// - On non-Windows `gles` backends, this calls
705+
/// [`eglDebugMessageControlKHR`][gl:dm] to enable all debugging messages.
706+
/// If the GLES implementation is ANGLE running on Vulkan, this also
707+
/// enables the Vulkan validation layers by setting
708+
/// [`EGL_PLATFORM_ANGLE_DEBUG_LAYERS_ENABLED`][gl:av].
709+
///
710+
/// When `Self::from_env()` is used, this bit is set if the `WGPU_VALIDATION`
711+
/// environment variable has any value but "0".
712+
///
713+
/// [dx12]: https://learn.microsoft.com/en-us/windows/win32/api/d3d12sdklayers/nf-d3d12sdklayers-id3d12debug-enabledebuglayer
714+
/// [vvl]: https://github.com/KhronosGroup/Vulkan-ValidationLayers
715+
/// [gl:dm]: https://registry.khronos.org/EGL/extensions/KHR/EGL_KHR_debug.txt
716+
/// [gl:do]: https://www.khronos.org/opengl/wiki/Debug_Output
717+
/// [gl:av]: https://chromium.googlesource.com/angle/angle/+/HEAD/extensions/EGL_ANGLE_platform_angle.txt
678718
</span><span class="kw">const </span>VALIDATION = <span class="number">1 </span>&lt;&lt; <span class="number">1</span>;
679719
<span class="doccomment">/// Don't pass labels to wgpu-hal.
680720
///

doc/wgpu/enum.Dx12Compiler.html

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

doc/wgpu/enum.DxcShaderModel.html

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

doc/wgpu/enum.GlFenceBehavior.html

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

doc/wgpu/enum.Gles3MinorVersion.html

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

doc/wgpu/struct.BackendOptions.html

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

doc/wgpu/struct.Dx12BackendOptions.html

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

doc/wgpu/struct.GlBackendOptions.html

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

0 commit comments

Comments
 (0)