mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Switch WebGL limits max_uniform_buffers_per_shader_stage to 11
This commit is contained in:
committed by
Dzmitry Malyshau
parent
28ba9d86eb
commit
0df66719ca
@@ -737,6 +737,7 @@ impl Limits {
|
||||
/// These default limits are guarenteed to be compatible with GLES-3.0, and D3D11, and WebGL2
|
||||
pub fn downlevel_webgl2_defaults() -> Self {
|
||||
Self {
|
||||
max_uniform_buffers_per_shader_stage: 11,
|
||||
max_storage_buffers_per_shader_stage: 0,
|
||||
max_storage_textures_per_shader_stage: 0,
|
||||
max_dynamic_storage_buffers_per_pipeline_layout: 0,
|
||||
|
||||
Reference in New Issue
Block a user