commit
1a31aefab4
10 changed files with 15 additions and 15 deletions
|
|
@ -93,6 +93,7 @@ fn build_pipeline(device: &wgpu::Device) -> wgpu::RenderPipeline {
|
||||||
mask: !0,
|
mask: !0,
|
||||||
alpha_to_coverage_enabled: false,
|
alpha_to_coverage_enabled: false,
|
||||||
},
|
},
|
||||||
|
multiview: None,
|
||||||
});
|
});
|
||||||
|
|
||||||
pipeline
|
pipeline
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ opengl = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
glam = "0.10"
|
glam = "0.10"
|
||||||
raw-window-handle = "0.3"
|
raw-window-handle = "0.4"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
|
||||||
[dependencies.bytemuck]
|
[dependencies.bytemuck]
|
||||||
|
|
|
||||||
|
|
@ -27,10 +27,10 @@ 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 = "0.16"
|
||||||
glyph_brush = "0.7"
|
glyph_brush = "0.7"
|
||||||
raw-window-handle = "0.3"
|
raw-window-handle = "0.4"
|
||||||
log = "0.4"
|
log = "0.4"
|
||||||
guillotiere = "0.6"
|
guillotiere = "0.6"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
|
|
||||||
|
|
@ -74,10 +74,9 @@ 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(
|
||||||
comparison: false,
|
wgpu::SamplerBindingType::Filtering,
|
||||||
filtering: true,
|
),
|
||||||
},
|
|
||||||
count: None,
|
count: None,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
@ -205,6 +204,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,9 @@ 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(
|
||||||
comparison: false,
|
wgpu::SamplerBindingType::NonFiltering,
|
||||||
filtering: false,
|
),
|
||||||
},
|
|
||||||
count: None,
|
count: None,
|
||||||
}],
|
}],
|
||||||
});
|
});
|
||||||
|
|
@ -122,6 +121,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