🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

D3D12 CBV, IBV and VBV sizes

Started by
0 comments, last by matt77hias 3 years, 10 months ago

The CBV (constant buffer view) size is required to be 256-byte aligned. (Cref.: https://docs.microsoft.com/en-us/windows/win32/direct3d12/creating-descriptors​ ).

  • Should the associated ID3D12Resource have a Width equal to that same size or may it be smaller (the additional padding of the CBV won't be accessed/used in the shaders anyway)?
  • Are there constraints for the IBV (index buffer view) and VBV (vertex buffer view) sizes as well?

🧙

This topic is closed to new replies.

Advertisement