Skip to content

Spec Clarification: Behavior of index buffers with robustBufferAccess2 #2756

@squidbus

Description

@squidbus

The spec specifies this for indexed draws when robustBufferAccess2 is enabled:

VUID-vkCmdDrawIndexed-robustBufferAccess2-08798
If the robustBufferAccess2 feature is not enabled, (indexSize × (firstIndex + indexCount))
must be less than or equal to the size of the bound index buffer range, with indexSize
being based on the type specified by indexType, and the other parameters sourced from
this command

However, I don't see any mention of index buffers in the Robust Buffer Access 2 section. I assume the intent though would be that index buffers behave robustly, and CTS tests for this, but I would assume then it should be properly specified.

Additionally, there is no mention of index buffers for VK_EXT_pipeline_robustness. Do pipeline robustness flags (vertex input?) affect index buffer robustness, or is it only controllable with the robustBufferAccess2 feature flag?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions