summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-19 19:10:23 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-09-20 00:14:47 +0200
commita5e69cfb5f7856e4d139ef58e5d022b9d408b542 (patch)
tree27004395eda5917e2a0bb77f440ac05ff8d8352d /wgpu
parentaed9a03e3cc30c68488f6e177e2ea0513e7ffc99 (diff)
downloadiced-a5e69cfb5f7856e4d139ef58e5d022b9d408b542.tar.gz
iced-a5e69cfb5f7856e4d139ef58e5d022b9d408b542.tar.bz2
iced-a5e69cfb5f7856e4d139ef58e5d022b9d408b542.zip
Update `wgpu` to `22.0`
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/color.rs1
-rw-r--r--wgpu/src/image/mod.rs1
-rw-r--r--wgpu/src/quad/gradient.rs1
-rw-r--r--wgpu/src/quad/solid.rs1
-rw-r--r--wgpu/src/triangle.rs2
-rw-r--r--wgpu/src/triangle/msaa.rs1
-rw-r--r--wgpu/src/window/compositor.rs1
7 files changed, 8 insertions, 0 deletions
diff --git a/wgpu/src/color.rs b/wgpu/src/color.rs
index f5c4af30..effac8da 100644
--- a/wgpu/src/color.rs
+++ b/wgpu/src/color.rs
@@ -143,6 +143,7 @@ pub fn convert(
depth_stencil: None,
multisample: wgpu::MultisampleState::default(),
multiview: None,
+ cache: None,
});
let texture = device.create_texture(&wgpu::TextureDescriptor {
diff --git a/wgpu/src/image/mod.rs b/wgpu/src/image/mod.rs
index d72303ea..cf83c3f2 100644
--- a/wgpu/src/image/mod.rs
+++ b/wgpu/src/image/mod.rs
@@ -190,6 +190,7 @@ impl Pipeline {
alpha_to_coverage_enabled: false,
},
multiview: None,
+ cache: None,
});
Pipeline {
diff --git a/wgpu/src/quad/gradient.rs b/wgpu/src/quad/gradient.rs
index b915a6b7..207b0d73 100644
--- a/wgpu/src/quad/gradient.rs
+++ b/wgpu/src/quad/gradient.rs
@@ -174,6 +174,7 @@ impl Pipeline {
alpha_to_coverage_enabled: false,
},
multiview: None,
+ cache: None,
},
);
diff --git a/wgpu/src/quad/solid.rs b/wgpu/src/quad/solid.rs
index 060ef881..86f118d6 100644
--- a/wgpu/src/quad/solid.rs
+++ b/wgpu/src/quad/solid.rs
@@ -136,6 +136,7 @@ impl Pipeline {
alpha_to_coverage_enabled: false,
},
multiview: None,
+ cache: None,
});
Self { pipeline }
diff --git a/wgpu/src/triangle.rs b/wgpu/src/triangle.rs
index 0a2a2174..3d0869e7 100644
--- a/wgpu/src/triangle.rs
+++ b/wgpu/src/triangle.rs
@@ -774,6 +774,7 @@ mod solid {
depth_stencil: None,
multisample: triangle::multisample_state(antialiasing),
multiview: None,
+ cache: None,
},
);
@@ -955,6 +956,7 @@ mod gradient {
depth_stencil: None,
multisample: triangle::multisample_state(antialiasing),
multiview: None,
+ cache: None,
},
);
diff --git a/wgpu/src/triangle/msaa.rs b/wgpu/src/triangle/msaa.rs
index 1f230b71..ec06e747 100644
--- a/wgpu/src/triangle/msaa.rs
+++ b/wgpu/src/triangle/msaa.rs
@@ -140,6 +140,7 @@ impl Blit {
alpha_to_coverage_enabled: false,
},
multiview: None,
+ cache: None,
});
Blit {
diff --git a/wgpu/src/window/compositor.rs b/wgpu/src/window/compositor.rs
index 2e938c77..0cfd49b7 100644
--- a/wgpu/src/window/compositor.rs
+++ b/wgpu/src/window/compositor.rs
@@ -162,6 +162,7 @@ impl Compositor {
),
required_features: wgpu::Features::empty(),
required_limits: required_limits.clone(),
+ memory_hints: wgpu::MemoryHints::MemoryUsage,
},
None,
)