D3D12 Best Practices

Started by
9 comments, last by dr4cula 8 years, 6 months ago

Thought I shouldn't start a new topic as it is kind of generic DX12 question: if I put my CBV in the root signature, does the driver version the data automatically, i.e. I wouldn't need a per-frame constant buffer resource?

Thanks!

You will still need a per frame constant buffer resource. You just won't need a per frame entry in a descriptor table for that CBV.

The only way to not need a constant buffer resources is to store constants directly inside the root signature, but you have very limited root signature memory, so you won't be able to store everything in the root signature.

Thanks for your quick reply! I was a bit confused due to the wording by MS here:

"By putting something in the root signature, the application is merely handing the versioning responsibility to the driver, but this is infrastructure that they already have."

This topic is closed to new replies.

Advertisement