Backed out 2 changesets (bug 1865344) for causing build bustages. CLOSED TREE

Backed out changeset 5d8a8fd9c20d (bug 1865344)
Backed out changeset 066e630d3ddf (bug 1865344)
This commit is contained in:
Cosmin Sabou 2023-11-17 22:58:29 +02:00
parent b85f977f48
commit 67fb6731e0

View File

@ -49,12 +49,6 @@ fn restrict_limits(limits: wgt::Limits) -> wgt::Limits {
max_texture_dimension_1d: limits.max_texture_dimension_1d.min(MAX_TEXTURE_EXTENT),
max_texture_dimension_2d: limits.max_texture_dimension_2d.min(MAX_TEXTURE_EXTENT),
max_texture_dimension_3d: limits.max_texture_dimension_3d.min(MAX_TEXTURE_EXTENT),
max_sampled_textures_per_shader_stage: limits.max_texture_dimension_3d.min(256),
max_samplers_per_shader_stage: limits.max_samplers_per_shader_stage.min(256),
max_storage_textures_per_shader_stage: limits.max_storage_textures_per_shader_stage.min(256),
max_uniform_buffers_per_shader_stage: limits.max_uniform_buffers_per_shader_stage.min(256),
max_uniform_buffer_binding_size: limits.max_uniform_buffer_binding_size.min(MAX_BUFFER_SIZE),
max_storage_buffer_binding_size: limits.max_storage_buffer_binding_size.min(MAX_BUFFER_SIZE),
max_non_sampler_bindings: 10_000,
.. limits
}