aco: use can_use_input_modifiers helper
authorGeorg Lehmann <dadschoorse@gmail.com>
Tue, 16 May 2023 15:26:21 +0000 (17:26 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 18 May 2023 22:57:24 +0000 (22:57 +0000)
commit476149f90da6085d27d80147fad13bb5af863909
tree46b4859597e49a91f124ef7bb5694adf336b9af8
parent644c5e95a0f8e6b46be9cc8aac013be7588f8e46
aco: use can_use_input_modifiers helper

Foz-DB GFX1100:
Totals from 80 (0.06% of 132657) affected shaders:
CodeSize: 504500 -> 503660 (-0.17%)
Instrs: 95033 -> 94824 (-0.22%)
Latency: 629695 -> 629235 (-0.07%)
InvThroughput: 97105 -> 97008 (-0.10%)
VClause: 1779 -> 1777 (-0.11%)
Copies: 3233 -> 3236 (+0.09%); split: -0.03%, +0.12%

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23059>
src/amd/compiler/aco_optimizer.cpp
src/amd/compiler/aco_optimizer_postRA.cpp