gpfifo: Reset the command buffer after submission.

Don't forget to wait on the fence before re-using the buffer.
This commit is contained in:
Jules Blok 2018-06-12 13:41:46 +02:00 committed by fincs
parent 9ce884f29e
commit d93c45a18d

View File

@ -36,5 +36,7 @@ Result nvGpfifoSubmit(NvGpfifo* f, NvCmdList* cmd_list, NvFence* fence_out)
nvfenceCreate(fence_out, &fence); nvfenceCreate(fence_out, &fence);
} }
cmd_list->num_cmds = 0;
return rc; return rc;
} }