I copy data to my D3D12_HEAP_TYPE_DEFAULT
buffers from my D3D12_HEAP_TYPE_UPLOAD
intermediate buffers using D3D12_COMMAND_LIST_TYPE_COPY
queue. After copy has been made, i need to transition resource back to D3D12_RESOURCE_STATE_VERTEX_AND_CONSTANT_BUFFER
. But copy queue doesn't support transition to this state. How can i do it properly?
Should i insert fence right after copying, then wait for this fence on graphics queue and perform transition there, that is not really comfortable option. Any other possibilities?