Open
Description
We ran into a case on Mali where:
- A pipeline layout declared a push constant range.
- The pipeline using said layout statically does not access push constants.
- vkCmdPushConstant is not called.
- On vkCmdDraw* the driver crashes on CPU.
Just pushing something worked around the crash.
The wording from spec:
For each push constant that is statically used by the VkPipeline bound to the pipeline bind
point used by this command, a push constant value must have been set for the same
pipeline bind point, with a VkPipelineLayout that is compatible for push constants, with
the VkPipelineLayout used to create the current VkPipeline, as described in Pipeline Layout
Compatibility
Statically used is key here. I suspect there is no CTS test to cover this particular edge case.
Metadata
Metadata
Assignees
Labels
No labels