Update wgpu 0.12
This commit is contained in:
parent
332b4b7842
commit
23ef0143ed
8 changed files with 9 additions and 14 deletions
|
|
@ -27,8 +27,8 @@ default_system_font = ["iced_graphics/font-source"]
|
||||||
spirv = ["wgpu/spirv"]
|
spirv = ["wgpu/spirv"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wgpu = "0.11"
|
wgpu = "0.12"
|
||||||
wgpu_glyph = "0.15"
|
wgpu_glyph = {path="../../wgpu_glyph"}
|
||||||
glyph_brush = "0.7"
|
glyph_brush = "0.7"
|
||||||
raw-window-handle = "0.3"
|
raw-window-handle = "0.3"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
|
|
|
||||||
|
|
@ -74,11 +74,8 @@ impl Pipeline {
|
||||||
wgpu::BindGroupLayoutEntry {
|
wgpu::BindGroupLayoutEntry {
|
||||||
binding: 1,
|
binding: 1,
|
||||||
visibility: wgpu::ShaderStages::FRAGMENT,
|
visibility: wgpu::ShaderStages::FRAGMENT,
|
||||||
ty: wgpu::BindingType::Sampler {
|
ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::Filtering),
|
||||||
comparison: false,
|
count: None,
|
||||||
filtering: true,
|
|
||||||
},
|
|
||||||
count: None,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
@ -205,6 +202,7 @@ impl Pipeline {
|
||||||
mask: !0,
|
mask: !0,
|
||||||
alpha_to_coverage_enabled: false,
|
alpha_to_coverage_enabled: false,
|
||||||
},
|
},
|
||||||
|
multiview: None,
|
||||||
});
|
});
|
||||||
|
|
||||||
let vertices =
|
let vertices =
|
||||||
|
|
|
||||||
|
|
@ -128,6 +128,7 @@ impl Pipeline {
|
||||||
mask: !0,
|
mask: !0,
|
||||||
alpha_to_coverage_enabled: false,
|
alpha_to_coverage_enabled: false,
|
||||||
},
|
},
|
||||||
|
multiview: None,
|
||||||
});
|
});
|
||||||
|
|
||||||
let vertices =
|
let vertices =
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
[[block]]
|
|
||||||
struct Globals {
|
struct Globals {
|
||||||
transform: mat4x4<f32>;
|
transform: mat4x4<f32>;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
[[block]]
|
|
||||||
struct Globals {
|
struct Globals {
|
||||||
transform: mat4x4<f32>;
|
transform: mat4x4<f32>;
|
||||||
scale: f32;
|
scale: f32;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
[[block]]
|
|
||||||
struct Globals {
|
struct Globals {
|
||||||
transform: mat4x4<f32>;
|
transform: mat4x4<f32>;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -190,6 +190,7 @@ impl Pipeline {
|
||||||
mask: !0,
|
mask: !0,
|
||||||
alpha_to_coverage_enabled: false,
|
alpha_to_coverage_enabled: false,
|
||||||
},
|
},
|
||||||
|
multiview: None,
|
||||||
});
|
});
|
||||||
|
|
||||||
Pipeline {
|
Pipeline {
|
||||||
|
|
|
||||||
|
|
@ -32,10 +32,7 @@ impl Blit {
|
||||||
entries: &[wgpu::BindGroupLayoutEntry {
|
entries: &[wgpu::BindGroupLayoutEntry {
|
||||||
binding: 0,
|
binding: 0,
|
||||||
visibility: wgpu::ShaderStages::FRAGMENT,
|
visibility: wgpu::ShaderStages::FRAGMENT,
|
||||||
ty: wgpu::BindingType::Sampler {
|
ty: wgpu::BindingType::Sampler(wgpu::SamplerBindingType::NonFiltering),
|
||||||
comparison: false,
|
|
||||||
filtering: false,
|
|
||||||
},
|
|
||||||
count: None,
|
count: None,
|
||||||
}],
|
}],
|
||||||
});
|
});
|
||||||
|
|
@ -122,6 +119,7 @@ impl Blit {
|
||||||
mask: !0,
|
mask: !0,
|
||||||
alpha_to_coverage_enabled: false,
|
alpha_to_coverage_enabled: false,
|
||||||
},
|
},
|
||||||
|
multiview: None
|
||||||
});
|
});
|
||||||
|
|
||||||
Blit {
|
Blit {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue