aco: add can_reorder flags to load_ubo and load_constant
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 10 Oct 2019 12:55:13 +0000 (14:55 +0200)
committerRhys Perry <pendingchaos02@gmail.com>
Wed, 30 Oct 2019 16:12:10 +0000 (16:12 +0000)
commit636d45e46a490667eac353b7d84d56053eafb5f9
treeacf5a257a30d13a6d65529a1854c4f2334266371
parent576f92d9007bd49d0a79aac9a6d8219bc3393604
aco: add can_reorder flags to load_ubo and load_constant

These got lost due to some refactoring.
Due to the way our scheduler works currently, for now
we add back the reorder flag for divergent loads only.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
src/amd/compiler/aco_instruction_selection.cpp