Skip to content

Commit 8f836cb

Browse files
committed
Deploying to master from @ gfx-rs/wgpu@0f5d575 🚀
1 parent 35b3904 commit 8f836cb

File tree

1,247 files changed

+5997
-5990
lines changed

Some content is hidden

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

1,247 files changed

+5997
-5990
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/src/wgpu_hal/gles/adapter.rs.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,8 @@
12891289
<a href="#1288" id="1288">1288</a>
12901290
<a href="#1289" id="1289">1289</a>
12911291
<a href="#1290" id="1290">1290</a>
1292-
<a href="#1291" id="1291">1291</a></pre></div><pre class="rust"><code><span class="kw">use </span>glow::HasContext;
1292+
<a href="#1291" id="1291">1291</a>
1293+
<a href="#1292" id="1292">1292</a></pre></div><pre class="rust"><code><span class="kw">use </span>glow::HasContext;
12931294
<span class="kw">use </span>parking_lot::Mutex;
12941295
<span class="kw">use </span>std::sync::{atomic::AtomicU8, Arc};
12951296
<span class="kw">use </span>wgt::AstcChannel;
@@ -2116,6 +2117,7 @@
21162117
private_caps,
21172118
workarounds,
21182119
features,
2120+
limits: limits.clone(),
21192121
options: backend_options,
21202122
shading_language_version,
21212123
next_shader_id: Default::default(),

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,8 @@
10891089
<a href="#1088" id="1088">1088</a>
10901090
<a href="#1089" id="1089">1089</a>
10911091
<a href="#1090" id="1090">1090</a>
1092-
<a href="#1091" id="1091">1091</a></pre></div><pre class="rust"><code><span class="doccomment">/*!
1092+
<a href="#1091" id="1091">1091</a>
1093+
<a href="#1092" id="1092">1092</a></pre></div><pre class="rust"><code><span class="doccomment">/*!
10931094
# OpenGL ES3 API (aka GLES3).
10941095

10951096
Designed to work on Linux and Android, with context provided by EGL.
@@ -1365,6 +1366,7 @@
13651366
context: AdapterContext,
13661367
private_caps: PrivateCapabilities,
13671368
features: wgt::Features,
1369+
limits: wgt::Limits,
13681370
workarounds: Workarounds,
13691371
options: wgt::GlBackendOptions,
13701372
shading_language_version: naga::back::glsl::Version,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2963,8 +2963,8 @@
29632963
<span class="number">0</span>,
29642964
)
29652965
};
2966-
<span class="kw">for </span>i <span class="kw">in </span><span class="number">0</span>..<span class="kw">crate</span>::MAX_COLOR_ATTACHMENTS {
2967-
<span class="kw">let </span>target = glow::COLOR_ATTACHMENT0 + i <span class="kw">as </span>u32;
2966+
<span class="kw">for </span>i <span class="kw">in </span><span class="number">0</span>..<span class="self">self</span>.shared.limits.max_color_attachments {
2967+
<span class="kw">let </span>target = glow::COLOR_ATTACHMENT0 + i;
29682968
<span class="kw">unsafe </span>{
29692969
gl.framebuffer_texture_2d(
29702970
glow::DRAW_FRAMEBUFFER,

doc/src/wgpu_types/lib.rs.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7311,7 +7311,8 @@
73117311
<a href="#7310" id="7310">7310</a>
73127312
<a href="#7311" id="7311">7311</a>
73137313
<a href="#7312" id="7312">7312</a>
7314-
<a href="#7313" id="7313">7313</a></pre></div><pre class="rust"><code><span class="doccomment">//! This library describes the API surface of WebGPU that is agnostic of the backend.
7314+
<a href="#7313" id="7313">7313</a>
7315+
<a href="#7314" id="7314">7314</a></pre></div><pre class="rust"><code><span class="doccomment">//! This library describes the API surface of WebGPU that is agnostic of the backend.
73157316
//! This API is used for targeting both Web and Native.
73167317

73177318
</span><span class="attr">#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
@@ -7819,7 +7820,7 @@
78197820
/// min_uniform_buffer_offset_alignment: 256,
78207821
/// min_storage_buffer_offset_alignment: 256,
78217822
/// max_inter_stage_shader_components: 60,
7822-
/// max_color_attachments: 8,
7823+
/// max_color_attachments: 4,
78237824
/// max_color_attachment_bytes_per_sample: 32,
78247825
/// max_compute_workgroup_storage_size: 16352, // *
78257826
/// max_compute_invocations_per_workgroup: 256,
@@ -7839,7 +7840,8 @@
78397840
max_texture_dimension_3d: <span class="number">256</span>,
78407841
max_storage_buffers_per_shader_stage: <span class="number">4</span>,
78417842
max_uniform_buffer_binding_size: <span class="number">16 </span>&lt;&lt; <span class="number">10</span>, <span class="comment">// (16 KiB)
7842-
// see: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf#page=7
7843+
</span>max_color_attachments: <span class="number">4</span>,
7844+
<span class="comment">// see: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf#page=7
78437845
</span>max_compute_workgroup_storage_size: <span class="number">16352</span>,
78447846
..<span class="self">Self</span>::defaults()
78457847
}
@@ -7876,7 +7878,7 @@
78767878
/// min_uniform_buffer_offset_alignment: 256,
78777879
/// min_storage_buffer_offset_alignment: 256,
78787880
/// max_inter_stage_shader_components: 31,
7879-
/// max_color_attachments: 8,
7881+
/// max_color_attachments: 4,
78807882
/// max_color_attachment_bytes_per_sample: 32,
78817883
/// max_compute_workgroup_storage_size: 0, // +
78827884
/// max_compute_invocations_per_workgroup: 0, // +

doc/type.impl/wgpu/enum.MaintainBase.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)