Skip to content

[MacOS] example/validation bugs on M2 #2699

@Foxtr0t1337

Description

@Foxtr0t1337

validate_new() always fail when using default BindlessContextCreateInfo

vulkano/src/descriptor_set/layout.rs:62
the total number of descriptors across all bindings is greater than the `max_per_set_descriptors` limit, and `device.descriptor_set_layout_support` returned `None`

According to my tests, on my MBP M2, total number is 3000100 (from the default BindlessContextCreateInfo) and max_per_set_descriptors is 1024 (from device properties).
I haven't investigated the device.descriptor_set_layout_support part but if I just new_unchecked() the examples work fine.

This happens in async-update, bloom, deferred because they use Resources::new(). ray-tracing also used the defaults but I can't test it.

Another one

examples/bloom/main.rs:507:10
Caused by:
    this device is a portability subset device, and `create_info.format` does not have the same components and number of bits per component as `image.format()`

Requires one of:
    device feature `image_view_format_reinterpretation`

After enabling that feature it works fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions