Skip to content

nvk: Rework buffer alignment limits

Faith Ekstrand requested to merge gfxstrand/mesa:nvk/rework-buffer-align into main

A while ago, I was trying to solve this with an over-complicated buffer alignment helper function. However, the actual requirements seem to be pretty straightforward. As far as I can tell, according to gpuinfo.org, this should get us reporting the same limits as the blob. It's also way more accurate and gets us ready for cbuf support where some of these alignments are suddenly going to start getting enforced.

Merge request reports