Skip to content

VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT is required for IBOs #4

@Yours3lf

Description

@Yours3lf

https://github.com/ARM-software/perfdoc/blob/master/layer/buffer.cpp#L40: “memoryRequirements.memoryTypeBits = INDEXBUFFER_MEMORY_PROPERTIES;”
Perfdoc seems to be forcing the requirement that memory for ibos are created with memory requirements VK_MEMORY_PROPERTY_HOST_COHERENT_BIT | VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT enabled. There is a major difference between desktop/mobile in terms of the memory types supported.

Perfdoc seems to be promoted for desktop PC use (besides the obvious mobile use case): https://community.arm.com/graphics/b/blog/posts/perfdoc-how-to-optimize-early-with-vulkan-validation-layer-tools-at-gdc18

The great thing about PerfDoc is that you can run it on the PC before you even begin to port it to mobile in order to validate the basics right from the start, making the process of porting considerably smoother and less frustrating.

So it would be great if this didn't trigger on desktop or the memory requirements would be different for desktop/mobile.

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