Optimize command recording with VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT #1548
Replies: 1 comment 2 replies
-
The existing For simplicity, and consistency in design and functionality with the more common usecase of deferred command playback upon queue submission, the design of this capability still uses If this design is demonstrated to add significant space-time overhead, then in the case where Be aware that testing has shown that, in the case where you have many |
Beta Was this translation helpful? Give feedback.
-
Hey, I just had an idea: If we record commands and VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT is enabled, couldn't we optimize the command recording by recording all commands to the MTLCommandEncoder directly instead of storing them as MVKCommands in the MVKCommandBuffer first?
I'm not sure if this is worth doing or even possible with the MoltenVK structure, I just had the idea and thought why not discuss it here :)
Beta Was this translation helpful? Give feedback.
All reactions