mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
[rs] Switch msaa example samples to 4
This commit is contained in:
parent
3a8b78ae43
commit
ff3ae67f3d
@ -34,3 +34,7 @@ env_logger = "0.6"
|
||||
glsl-to-spirv = "0.1"
|
||||
log = "0.4"
|
||||
png = "0.15"
|
||||
|
||||
[patch.crates-io]
|
||||
#gfx-hal = { path = "../gfx/src/hal" }
|
||||
#gfx-backend-dx12 = { path = "../gfx/src/backend/dx12" }
|
||||
|
@ -101,7 +101,7 @@ impl Example {
|
||||
impl framework::Example for Example {
|
||||
fn init(sc_desc: &wgpu::SwapChainDescriptor, device: &mut wgpu::Device) -> Self {
|
||||
println!("Press left/right arrow keys to change sample_count.");
|
||||
let sample_count = 2;
|
||||
let sample_count = 4;
|
||||
|
||||
let vs_bytes = framework::load_glsl(include_str!("shader.vert"), framework::ShaderStage::Vertex);
|
||||
let fs_bytes = framework::load_glsl(include_str!("shader.frag"), framework::ShaderStage::Fragment);
|
||||
|
Loading…
Reference in New Issue
Block a user