mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-16 08:53:20 +00:00
Fix missing family check flag (#5754)
Co-authored-by: Jim Blandy <jimb@red-bean.com> Co-authored-by: Xiaopeng Li <x.friday@outlook.com> Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com> Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com> Co-authored-by: Valaphee The Meerkat <32491319+valaphee@users.noreply.github.com> Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
parent
b5b39f670d
commit
de809c8f96
@ -96,6 +96,10 @@ By @stefnotch in [#5410](https://github.com/gfx-rs/wgpu/pull/5410)
|
||||
|
||||
- Ensure render pipelines have at least 1 target. By @ErichDonGubler in [#5715](https://github.com/gfx-rs/wgpu/pull/5715)
|
||||
|
||||
#### Metal
|
||||
|
||||
- Fix unrecognized selector crash on iOS 12. By @vladasz in [#5744](https://github.com/gfx-rs/wgpu/pull/5744).
|
||||
|
||||
#### Vulkan
|
||||
|
||||
- Fix enablement of subgroup ops extension on Vulkan devices that don't support Vulkan 1.3. By @cwfitzgerald in [#5624](https://github.com/gfx-rs/wgpu/pull/5624).
|
||||
|
@ -736,7 +736,9 @@ impl super::PrivateCapabilities {
|
||||
4
|
||||
},
|
||||
// Per https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf
|
||||
max_color_attachment_bytes_per_sample: if device.supports_family(MTLGPUFamily::Apple4) {
|
||||
max_color_attachment_bytes_per_sample: if family_check
|
||||
&& device.supports_family(MTLGPUFamily::Apple4)
|
||||
{
|
||||
64
|
||||
} else {
|
||||
32
|
||||
|
Loading…
Reference in New Issue
Block a user