summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-05-01 16:19:08 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-09-20 00:14:46 +0200
commitaed9a03e3cc30c68488f6e177e2ea0513e7ffc99 (patch)
tree1626b4d0e387ef26b0bc083e117acf3b809c0604 /wgpu
parentfed9c8d19bed572aec80376722fc5ef0d48ac417 (diff)
downloadiced-aed9a03e3cc30c68488f6e177e2ea0513e7ffc99.tar.gz
iced-aed9a03e3cc30c68488f6e177e2ea0513e7ffc99.tar.bz2
iced-aed9a03e3cc30c68488f6e177e2ea0513e7ffc99.zip
Update `wgpu` to `0.20.1`
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/color.rs4
-rw-r--r--wgpu/src/image/mod.rs4
-rw-r--r--wgpu/src/quad/gradient.rs4
-rw-r--r--wgpu/src/quad/solid.rs4
-rw-r--r--wgpu/src/triangle.rs8
-rw-r--r--wgpu/src/triangle/msaa.rs4
6 files changed, 28 insertions, 0 deletions
diff --git a/wgpu/src/color.rs b/wgpu/src/color.rs
index 9d593d9c..f5c4af30 100644
--- a/wgpu/src/color.rs
+++ b/wgpu/src/color.rs
@@ -110,6 +110,8 @@ pub fn convert(
module: &shader,
entry_point: "vs_main",
buffers: &[],
+ compilation_options: wgpu::PipelineCompilationOptions::default(
+ ),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
@@ -130,6 +132,8 @@ pub fn convert(
}),
write_mask: wgpu::ColorWrites::ALL,
})],
+ compilation_options: wgpu::PipelineCompilationOptions::default(
+ ),
}),
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,
diff --git a/wgpu/src/image/mod.rs b/wgpu/src/image/mod.rs
index 1b16022a..d72303ea 100644
--- a/wgpu/src/image/mod.rs
+++ b/wgpu/src/image/mod.rs
@@ -153,6 +153,8 @@ impl Pipeline {
8 => Uint32,
),
}],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
@@ -173,6 +175,8 @@ impl Pipeline {
}),
write_mask: wgpu::ColorWrites::ALL,
})],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
}),
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,
diff --git a/wgpu/src/quad/gradient.rs b/wgpu/src/quad/gradient.rs
index 13dc10f8..b915a6b7 100644
--- a/wgpu/src/quad/gradient.rs
+++ b/wgpu/src/quad/gradient.rs
@@ -152,11 +152,15 @@ impl Pipeline {
9 => Float32
),
}],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "gradient_fs_main",
targets: &quad::color_target_state(format),
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
}),
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,
diff --git a/wgpu/src/quad/solid.rs b/wgpu/src/quad/solid.rs
index 45039a2d..060ef881 100644
--- a/wgpu/src/quad/solid.rs
+++ b/wgpu/src/quad/solid.rs
@@ -114,11 +114,15 @@ impl Pipeline {
8 => Float32,
),
}],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "solid_fs_main",
targets: &quad::color_target_state(format),
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
}),
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,
diff --git a/wgpu/src/triangle.rs b/wgpu/src/triangle.rs
index b0551f55..0a2a2174 100644
--- a/wgpu/src/triangle.rs
+++ b/wgpu/src/triangle.rs
@@ -760,11 +760,15 @@ mod solid {
1 => Float32x4,
),
}],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "solid_fs_main",
targets: &[Some(triangle::fragment_target(format))],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
}),
primitive: triangle::primitive_state(),
depth_stencil: None,
@@ -937,11 +941,15 @@ mod gradient {
6 => Float32x4
),
}],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
entry_point: "gradient_fs_main",
targets: &[Some(triangle::fragment_target(format))],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
}),
primitive: triangle::primitive_state(),
depth_stencil: None,
diff --git a/wgpu/src/triangle/msaa.rs b/wgpu/src/triangle/msaa.rs
index 71c16925..1f230b71 100644
--- a/wgpu/src/triangle/msaa.rs
+++ b/wgpu/src/triangle/msaa.rs
@@ -112,6 +112,8 @@ impl Blit {
module: &shader,
entry_point: "vs_main",
buffers: &[],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
},
fragment: Some(wgpu::FragmentState {
module: &shader,
@@ -123,6 +125,8 @@ impl Blit {
),
write_mask: wgpu::ColorWrites::ALL,
})],
+ compilation_options:
+ wgpu::PipelineCompilationOptions::default(),
}),
primitive: wgpu::PrimitiveState {
topology: wgpu::PrimitiveTopology::TriangleList,