aco: restrict scheduling depending on max_waves
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 29 Aug 2019 15:17:32 +0000 (17:17 +0200)
committerRhys Perry <pendingchaos02@gmail.com>
Wed, 30 Oct 2019 16:12:10 +0000 (16:12 +0000)
commit703ce617ca4045a9e4d3e05b8e6ed607d89fd338
tree05ec910ae663d0ac3864c5363b5297a160f01b6d
parentbeca63c6c07f7263a56a3517ba0fec6fe6335325
aco: restrict scheduling depending on max_waves

Previously, we allowed all shaders to reduce the number of max_waves to as low as 5.
Restricting this on shaders with low register demand, increases the total number of waves
while the VMEM def-use distances hardly change.
This patch also changes the max number of move operations per MEM instruction.

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