Skip to content

get_physical_device_memory_properties return invalid heap_index #920

@BigAngryPanda

Description

@BigAngryPanda

In ash 0.38 memory for VkPhysicalDeviceMemoryProperties became uninitialized
let mut memory_prop = mem::MaybeUninit::uninit();

This change produce invalid data in (at least) memory_types field (specifically heap_index becomes random) which violates restrictions in VkMemoryType

As for ash 0.37 it is fine as memory is zeroed
let mut memory_prop = mem::zeroed();

Driver 545.29.06-0ubuntu0.22.04.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions