Skip to content

panvk: Make sysvals struct aligned an on FAU word

Boris Brezillon requested to merge bbrezillon/mesa:panvk-sysval-align-fix into main

What does this MR do and why?

Rather than asserting that the struct size is aligned on an FAU word, enforce this alignment with an alignment attribute.

This fixes the build on 32-bit x86 where, apparently, the current layout doesn't give an 8-byte alignment guarantee.

Fixes: ae76a6a0 ("panvk: Pack push constants") Closes: #12429 (closed)

/cc @Mikhail

Merge request reports

Loading