pan/mdg: Add 16 bytes of padding to the end of shaders
authorIcecream95 <ixn@disroot.org>
Wed, 23 Jun 2021 08:31:37 +0000 (20:31 +1200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 23 Jun 2021 14:42:55 +0000 (14:42 +0000)
commit08495a948e16ac4fe54e282b77e8265551606219
treedd3426559d982065a86b0d04de92540624b7cca4
parent55951ac28e7a30c2fae762990962a4410669c989
pan/mdg: Add 16 bytes of padding to the end of shaders

Fixes INSTR_INVALID_PC faults when a shader ends on a 16MB boundary.

Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11551>
src/panfrost/midgard/midgard_compile.c