Support null VkSubmitInfo on queue submit.
This commit is contained in:
parent
73ff9161e1
commit
e67cf9c0f2
@ -340,8 +340,8 @@ MVKQueueCommandBufferSubmission::MVKQueueCommandBufferSubmission(MVKDevice* devi
|
||||
MVKCommandUse cmdBuffUse)
|
||||
: MVKQueueSubmission(device,
|
||||
queue,
|
||||
pSubmit->waitSemaphoreCount,
|
||||
pSubmit->pWaitSemaphores), _cmdBuffCountdown(this) {
|
||||
(pSubmit ? pSubmit->waitSemaphoreCount : 0),
|
||||
(pSubmit ? pSubmit->pWaitSemaphores : nullptr)), _cmdBuffCountdown(this) {
|
||||
|
||||
// pSubmit can be null if just tracking the fence alone
|
||||
if (pSubmit) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user