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?
The spec specifies this for indexed draws when
robustBufferAccess2is enabled: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 therobustBufferAccess2feature flag?