Jump to content
  • Advertisement
Sign in to follow this  
Funkymunky

[D3D12] CommandList and PipelineState

This topic is 1078 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When you call ID3D12Device::CreateCommandList you can pass a ID3D12PipelineState *pInitialState.  There's also the command ID3D12GraphicsCommandList::SetPipelineState where you can presumably assign a pipeline state to a command list.

 

I have done neither of these things (instead passing a nullptr to CreateCommandList) and it doesn't seem to have affected my rendering at all.  So what then is the intended purpose of associating a PipelineState with a CommandList?

Share this post


Link to post
Share on other sites
Advertisement

I spoke too soon.  I was still passing it to ID3D12GraphicsCommandList::Reset each frame, and if I don't do that then I don't see anything rendered.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!