mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2025-02-16 17:12:29 +00:00
Fix wrong detection of seperate stencil usage (#2193)
Fix crash on Vivante GPU (#2192) by properly determining when to include seperate stencil usage.
This commit is contained in:
parent
d4961b192c
commit
bb7990fd49
@ -1067,7 +1067,7 @@ impl PhysicalDevice {
|
||||
_ne: _,
|
||||
} = image_format_info;
|
||||
|
||||
let has_separate_stencil_usage = stencil_usage == usage;
|
||||
let has_separate_stencil_usage = stencil_usage != usage;
|
||||
|
||||
let mut info2_vk = ash::vk::PhysicalDeviceImageFormatInfo2 {
|
||||
format: format.unwrap().into(),
|
||||
|
Loading…
Reference in New Issue
Block a user