Main  /  Edit  /  History  /   /  Users Area

Graphics and OGS

对于:

Unlike the command list, a command allocator cannot be reused unless all of the commands that have been recorded into the command allocator have finished executing on the GPU. Attempting to reset a command allocator before the command queue has finished executing those commands will result in a COMMAND_ALLOCATOR_SYNC error by the debug layer. The g_CommandAllocators array variable is used to store the reference to the command allocators. There must be at least one command allocator per render frame that is "in-flight" (at least one per back buffer of the swap chain).

问题:

  1. 设有Allocator A, 关联的Command List A和B, 在GPU没有执行完A之前, 能否用List B录命令? 按照字面意思是不能.

About

Wiki++ is a wiki engine powered by CppCMS web development framework.


Navigation

Main Page



Valid CSS | Valid XHTML 1.0