Skip to content

Commit 105d012

Browse files
committed
Fix command pool creation
1 parent 88f4829 commit 105d012

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/core/api/lifecycle.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,10 @@ static VKRT_Result createPipelineBackendResources(VKRT* vkrt) {
448448
if (!vkrt) return VKRT_ERROR_INVALID_ARGUMENT;
449449
uint64_t stepStartTime = 0u;
450450

451+
stepStartTime = getMicroseconds();
452+
if (createCommandPool(vkrt) != VKRT_SUCCESS) return VKRT_ERROR_OPERATION_FAILED;
453+
logStepTime("Command pool created", stepStartTime);
454+
451455
stepStartTime = getMicroseconds();
452456
if (vkrtEnsureTextureBindings(vkrt) != VKRT_SUCCESS) return VKRT_ERROR_OPERATION_FAILED;
453457
logStepTime("Texture bindings ensured", stepStartTime);

0 commit comments

Comments
 (0)