Skip to content

Confusing snippets concerns settings of physical devices #169

@NanFeiDeXuMu

Description

@NanFeiDeXuMu

Image

This is the web: https://docs.vulkan.org/tutorial/latest/03_Drawing_a_triangle/00_Setup/03_Physical_devices_and_queue_families.html

The declaration and assignment of physicalDevice seems inconsistent and the compiler reported an error.
Plus it cannot be initialized by default due to the raii properties.

Compiled on wins x86-64, Visual Studio 2022 with the latest version of Vulkan. Thanks for your kindly support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions