aco: add helpers for ensuring correct ordering while scheduling
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 7 Nov 2019 14:48:51 +0000 (14:48 +0000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 13 Mar 2020 14:04:50 +0000 (14:04 +0000)
commit928ac97875c267690c2e15f7de94b9f935afed80
treef499042396a3569587acabbeb54078703b07d347
parent2cd760847a45f4daa7f73a7d0a6a606e3b4f1f07
aco: add helpers for ensuring correct ordering while scheduling

Pipeline-db changes in 721 shaders.

Totals from affected shaders:
SGPRS: 42336 -> 42656 (0.76 %)
VGPRS: 38368 -> 38636 (0.70 %)
Spilled SGPRs: 11967 -> 11967 (0.00 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Scratch size: 0 -> 0 (0.00 %) dwords per thread
Code Size: 5268088 -> 5269840 (0.03 %) bytes
LDS: 1069 -> 1069 (0.00 %) blocks
Max Waves: 4473 -> 4447 (-0.58 %)
SMEM score: 41155.00 -> 41826.00 (1.63 %)
VMEM score: 146339.00 -> 147471.00 (0.77 %)
SMEM clauses: 24434 -> 24535 (0.41 %)
VMEM clauses: 16637 -> 16592 (-0.27 %)
Instructions: 996037 -> 996388 (0.04 %)
Cycles: 76476112 -> 75281416 (-1.56 %)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3776>
src/amd/compiler/aco_ir.h
src/amd/compiler/aco_scheduler.cpp