aco: include scratch/global in VMEM WAW optimization
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 25 May 2022 16:21:50 +0000 (17:21 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 8 Jul 2022 14:49:03 +0000 (14:49 +0000)
commit29953d60481bcab370228a352f82eceb10903261
treedbaf2c571170034da50db396faec47d4590c4355
parentc66206cbedddc21e724c987d48267f5304453b63
aco: include scratch/global in VMEM WAW optimization

fossil-db (navi21):
Totals from 2 (0.00% of 162293) affected shaders:
Instrs: 4788 -> 4785 (-0.06%)
CodeSize: 25884 -> 25872 (-0.05%)
Latency: 255008 -> 252950 (-0.81%)
InvThroughput: 170005 -> 168633 (-0.81%)
VClause: 206 -> 205 (-0.49%)

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/17079>
src/amd/compiler/aco_insert_waitcnt.cpp