Skip to content

Commit 5f3acf5

Browse files
Decrease max_buffer_size limit value to be compatible with Apple2 GPU (#3255)
* Decrease `max_buffer_size` limit value to be compatible with Apple2 GPU * Update CHANGELOG * Update CHANGELOG.md Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
1 parent 88acaf7 commit 5f3acf5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Additionally `Surface::get_default_config` now returns an Option and returns Non
7777
- New downlevel feature `UNRESTRICTED_INDEX_BUFFER` to indicate support for using `INDEX` together with other non-copy/map usages (unsupported on WebGL). By @Wumpf in [#3157](https://github.com/gfx-rs/wgpu/pull/3157)
7878
- Combine `Surface::get_supported_formats`, `Surface::get_supported_present_modes`, and `Surface::get_supported_alpha_modes` into `Surface::get_capabilities` and `SurfaceCapabilities`. By @cwfitzgerald in [#3157](https://github.com/gfx-rs/wgpu/pull/3157)
7979
- Make `Surface::get_default_config` return an Option to prevent panics. By @cwfitzgerald in [#3157](https://github.com/gfx-rs/wgpu/pull/3157)
80+
- Lower the `max_buffer_size` limit value for compatibility with Apple2 and WebGPU compliance. By @jinleili in [#3255](https://github.com/gfx-rs/wgpu/pull/3255)
8081

8182
#### WebGPU
8283

wgpu-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ impl Default for Limits {
849849
max_compute_workgroup_size_y: 256,
850850
max_compute_workgroup_size_z: 64,
851851
max_compute_workgroups_per_dimension: 65535,
852-
max_buffer_size: 1 << 30,
852+
max_buffer_size: 1 << 28,
853853
}
854854
}
855855
}

0 commit comments

Comments
 (0)