This patch implements fish number selection for D3D12 backend.
If fish count is changed, the application will destory and
reallocate fish buffer. Take care to flush the command lists
before destory resource by signal mechanism, otherwise D3D12
driver will report 'OBJECT_DELETED_WHILE_STILL_IN_USE' error.
This patch implements fish number selection for D3D12 backend. If fish count is changed, the application will destory and reallocate fish buffer. Take care to flush the command lists before destory resource by signal mechanism, otherwise D3D12 driver will report 'OBJECT_DELETED_WHILE_STILL_IN_USE' error.