aco: fix sparse store_lds()
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 14 Oct 2019 19:25:27 +0000 (20:25 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 22 Oct 2019 18:52:29 +0000 (18:52 +0000)
commit58d4aee5df015c901ceecb46a9d51e4c640860ee
treedb1a77b9ffdc57435870884ab85e3691828c174d
parenta856629e8fa8d22de44a54406169181e46354199
aco: fix sparse store_lds()

p_extract_vector's second operand is in units of the definition size, not
dwords.

v2: move extract_subvector() to right before ds_write_helper

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection.cpp