Skip to content

anv,vulkan: Add a base struct to all objects

Faith Ekstrand requested to merge gfxstrand/mesa:review/anv-base-struct into master

This refactor is going to be needed for an upcoming extension. However, while I was at it, I decided to put this stuff in common code so that other drivers, once they've done a similar refactor, can get said extension "for free". In general, I think it'd be good for us to start sharing a bit of code between drivers as there are some things that really are fairly common besides just WSI. We should be conservative about it, of course, but this seems like a good start.

+@krh @bnieuwenhuizen @airlied

Merge request reports