aco: ensure to not extract more components than have been fetched
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 22 Jul 2020 14:41:41 +0000 (16:41 +0200)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jul 2020 18:18:35 +0000 (18:18 +0000)
commitbd75e9923302a3d389469b7b233968576a46f4de
treee85a263523e719d1f881dcaf793083c58d058bf5
parent6bc5ce7a91d07197043c097f876edf1d630c1375
aco: ensure to not extract more components than have been fetched

Fixes: 7015d2c249e1f7814bf5681ccd049e49e4d6495c ('aco: fix scratch loads which cross element_size boundaries')
Cc: 20.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6024>
src/amd/compiler/aco_instruction_selection.cpp