Skip to content

Overflow descriptors are not handled correctly #1784

@qining

Description

@qining

https://github.com/google/gapid/blob/master/gapis/api/vulkan/vulkan.api#L5917
The binding numbers can be sparse and not consecutive, using len() as the maximum allowed binding + 1 is not correct.

https://github.com/google/gapid/blob/master/gapis/api/vulkan/vulkan.api#L5922
Bindings may not exist in the descriptor set, this can cause a crash in such cases.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions