Skip to content

How to query if an allocation is dedicated? #383

Closed
@debaetsd

Description

@debaetsd

Is there a way to know if an allocation is flagged as dedicated?
I need to know this in order to properly setup interop flags (GL_DEDICATED_MEMORY_OBJECT_EXT for example).
Currently vma can decide to make an allocation dedicated (for valid reasons) but as far as I can tell there is no way to know that?

I modified our local fork (with changes discussed in #340 ) to return this knowledge inside VmaAllocationInfo.
Is this the only way (and our our fork is diverging even more) or was there already a way to know this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureAdding new featurenext releaseTo be done as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions