Skip to content

vkCmdDrawIndexedIndirect doesn't issue an error when the buffer wasn't created with VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT #450

@zeux

Description

@zeux

Using a buffer with the following usage flags:

VK_BUFFER_USAGE_STORAGE_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT

Should trigger an error in vkCmdDrawIndexedIndirect corresponding to the following VU:

buffer must have been created with the VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT bit set

But it doesn't happen. Not sure if other VUs in this function are missed, sounds like this needs more validation coverage.

Metadata

Metadata

Assignees

Labels

IncompleteMissing Validation VUs to be added

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions