aco: add explicit padding for all Instruction sub-structs
authorDaniel Schürmann <daniel@schuermann.dev>
Mon, 30 Mar 2020 16:25:00 +0000 (17:25 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 9 Apr 2020 15:08:57 +0000 (15:08 +0000)
commitc99107ece02b64916031883889b9e010c99e2435
tree31f05cf602e1e4287dad30e3004bf8e199dc3236
parent7f962a9362ec8bc8b03b7d44a13b44291e3b599d
aco: add explicit padding for all Instruction sub-structs

This patch also adds static_asserts on the size of Instructions
to ensure no internal padding is present.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4130>
src/amd/compiler/aco_ir.h