Skip to content

Commit

Permalink
refactor(vulkan): use Limits::default instead of hardcoded value
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Jul 19, 2023
1 parent 7c46cd8 commit a5b6ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/vulkan/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ impl PhysicalDeviceCapabilities {
max_bind_groups: limits
.max_bound_descriptor_sets
.min(crate::MAX_BIND_GROUPS as u32),
max_bindings_per_bind_group: 1000,
max_bindings_per_bind_group: wgt::Limits::default().max_bindings_per_bind_group,
max_dynamic_uniform_buffers_per_pipeline_layout: limits
.max_descriptor_set_uniform_buffers_dynamic,
max_dynamic_storage_buffers_per_pipeline_layout: limits
Expand Down

0 comments on commit a5b6ba3

Please sign in to comment.