mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Cargo lock update, limits fix (#2033)
This commit is contained in:
3
Cargo.lock
generated
3
Cargo.lock
generated
@@ -1853,6 +1853,7 @@ dependencies = [
|
||||
"gpu-alloc",
|
||||
"gpu-descriptor",
|
||||
"inplace_it",
|
||||
"js-sys",
|
||||
"khronos-egl",
|
||||
"libloading 0.7.0",
|
||||
"log",
|
||||
@@ -1865,6 +1866,8 @@ dependencies = [
|
||||
"raw-window-handle",
|
||||
"renderdoc-sys",
|
||||
"thiserror",
|
||||
"wasm-bindgen",
|
||||
"web-sys",
|
||||
"wgpu-types",
|
||||
"winapi",
|
||||
"winit",
|
||||
|
||||
@@ -253,6 +253,8 @@ impl super::Queue {
|
||||
gl.bind_buffer(copy_src_target, Some(src));
|
||||
gl.bind_buffer(copy_dst_target, Some(dst));
|
||||
|
||||
//TODO: remove this slow path completely
|
||||
// https://github.com/gfx-rs/wgpu/issues/2031
|
||||
if is_index_buffer_only_element_dst {
|
||||
let mut buffer_data = vec![0; copy.size.get() as usize];
|
||||
gl.get_buffer_sub_data(
|
||||
|
||||
@@ -674,8 +674,8 @@ impl Limits {
|
||||
/// These default limits are guarenteed to be compatible with GLES3, and D3D11
|
||||
pub fn downlevel_defaults() -> Self {
|
||||
Self {
|
||||
max_texture_dimension_1d: 2096,
|
||||
max_texture_dimension_2d: 2096,
|
||||
max_texture_dimension_1d: 2048,
|
||||
max_texture_dimension_2d: 2048,
|
||||
max_texture_dimension_3d: 256,
|
||||
max_texture_array_layers: 256,
|
||||
max_bind_groups: 4,
|
||||
|
||||
Reference in New Issue
Block a user