refactor: hoist max_storage_buffers_per_shader_stage above textures counterpart

This enforces spec. ordering in this one spot that doesn't follow it,
so it will make subsequent commits easier to follow.
This commit is contained in:
Erich Gubler committed 2026-09-07 07:02:37 -04:00
1 parent 19b095686d
commit c044c86bc2
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -906,8 +906,8 @@ impl super::Adapter {
max_bindings_per_bind_group: u32::MAX,
max_sampled_textures_per_shader_stage,
max_samplers_per_shader_stage,
max_storage_textures_per_shader_stage,
max_storage_buffers_per_shader_stage,
max_storage_textures_per_shader_stage,
max_uniform_buffers_per_shader_stage,
// See `InputSlot` param docs: https://learn.microsoft.com/en-ca/windows/win32/api/d3d12/ns-d3d12-d3d12_input_element_desc
max_vertex_buffers: 16,
+1 -1
View File
@@ -1427,8 +1427,8 @@ impl super::CapabilitiesQuery {
// "Maximum number of entries in the sampler state argument table, per graphics or kernel function"
max_samplers_per_shader_stage: 16,
max_sampled_textures_per_shader_stage,
max_storage_textures_per_shader_stage,
max_storage_buffers_per_shader_stage,
max_storage_textures_per_shader_stage,
max_uniform_buffers_per_shader_stage,
max_vertex_buffers,
max_buffer_size: self.max_buffer_size,
+1 -1
View File
@@ -1766,8 +1766,8 @@ impl PhysicalDeviceProperties {
.max_descriptor_set_storage_buffers_dynamic,
max_samplers_per_shader_stage,
max_sampled_textures_per_shader_stage,
max_storage_textures_per_shader_stage,
max_storage_buffers_per_shader_stage,
max_storage_textures_per_shader_stage,
max_uniform_buffers_per_shader_stage,
max_vertex_buffers: limits.max_vertex_input_bindings,
max_buffer_size,