That just looks better
This commit is contained in:
parent
7f99e5def7
commit
7d5dffa234
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
})],
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user