Skip to content

panfrost: Use C11 static_assert for enums

Alyssa Rosenzweig requested to merge alyssa/mesa:panfrost/static-assert into main

Rather than asserting everything in an unused function, just do it in global context with C11 static_asserts. This is a bit neater now that we depend on C11 projectwide.

Obvious follow-on from !16670 (merged).

Cc @kusma

Merge request reports