diff --git a/src/main.rs b/src/main.rs index d0846d9..8121d8b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,7 +33,7 @@ fn make_viewport(w: u32, h: u32) -> [Vertex; 4] { }) } -const N_SPHERES: u32 = 42; +const N_SPHERES: u32 = 100; fn main() { let event_loop = EventLoop::new().unwrap(); @@ -73,7 +73,7 @@ fn main() { &device, &wgpu::SurfaceConfiguration { usage: wgpu::TextureUsages::RENDER_ATTACHMENT | wgpu::TextureUsages::COPY_DST, - format: wgpu::TextureFormat::Bgra8UnormSrgb, + format: wgpu::TextureFormat::Bgra8Unorm, width: physical_size.width, height: physical_size.height, present_mode: wgpu::PresentMode::Fifo, diff --git a/src/trace.rs b/src/trace.rs index be0d84f..be57f88 100644 --- a/src/trace.rs +++ b/src/trace.rs @@ -114,7 +114,7 @@ impl Tracer { entry_point: None, compilation_options: wgpu::PipelineCompilationOptions::default(), targets: &[Some(wgpu::ColorTargetState { - format: wgpu::TextureFormat::Bgra8UnormSrgb, + format: wgpu::TextureFormat::Bgra8Unorm, blend: Some(wgpu::BlendState::REPLACE), write_mask: wgpu::ColorWrites::ALL, })],