The CommandListParameters::queueType is garbled code when passing to the function of nvrhi::d3d12::Device::getQueue().
Here is my command list creation code :
nvrhi::DeviceHandle GraphicsDevice;
nvrhi::CommandListHandle CommandListInstance;
...
nvrhi::CommandListParameters Parameters = nvrhi::CommandListParameters();
Parameters.queueType = nvrhi::CommandQueue::Graphics;
CommandListInstance = GraphicsDevice->createCommandList(Parameters);
The CommandListParameters::queueType is correct until it is passed to the :
class Device final : public RefCounter<IDevice>
{
...
Queue* getQueue(CommandQueue type) { return m_Queues[int(type)].get(); }
...
};
It may turn into some garbled code like "D" or something else, which make the command list creation fail.
I couldn't make should whether it's caused by my configuration of the NVRHI or the IDE bugs.
The CommandListParameters::queueType is garbled code when passing to the function of nvrhi::d3d12::Device::getQueue().
Here is my command list creation code :
The CommandListParameters::queueType is correct until it is passed to the :
It may turn into some garbled code like "D" or something else, which make the command list creation fail.
I couldn't make should whether it's caused by my configuration of the NVRHI or the IDE bugs.