Skip to content

Commit

Permalink
Limits
Browse files Browse the repository at this point in the history
  • Loading branch information
nanoqsh committed Dec 15, 2023
1 parent 9c437a2 commit d4a03b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dunge/src/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,10 @@ impl State {
log::info!("selected backend: {backend:?}");

let desc = DeviceDescriptor {
label: None,
features: Features::empty(),
limits: Limits {
max_texture_dimension_2d: 4096,
max_texture_dimension_2d: adapter.limits().max_texture_dimension_2d,
max_storage_buffers_per_shader_stage: 0,
max_storage_textures_per_shader_stage: 0,
max_dynamic_storage_buffers_per_pipeline_layout: 0,
Expand All @@ -212,7 +213,6 @@ impl State {
Limits::downlevel_defaults()
}
},
label: None,
};

let (device, queue) = adapter
Expand Down

0 comments on commit d4a03b2

Please sign in to comment.