aco/gfx11: apply clamp/omod to vinterp
authorGeorg Lehmann <dadschoorse@gmail.com>
Thu, 14 Sep 2023 11:01:09 +0000 (13:01 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 5 Oct 2023 20:02:53 +0000 (20:02 +0000)
commit5e9fad48bf4e4bb8c07bba3db1e83059c456f161
tree55a7fdd62ae93d979a3a2de359fd0fbc696b4cd9
parent7196b5318d647ba7ac2a88c7a62a1363d607bb3f
aco/gfx11: apply clamp/omod to vinterp

Totals from 2504 (3.27% of 76572) affected shaders:
MaxWaves: 74098 -> 74106 (+0.01%)
Instrs: 1829278 -> 1823427 (-0.32%); split: -0.32%, +0.00%
CodeSize: 9775908 -> 9759308 (-0.17%); split: -0.18%, +0.01%
Latency: 13494107 -> 13485390 (-0.06%); split: -0.10%, +0.04%
InvThroughput: 2052428 -> 2048724 (-0.18%); split: -0.18%, +0.00%
VClause: 26637 -> 26640 (+0.01%); split: -0.04%, +0.05%
SClause: 62027 -> 61988 (-0.06%); split: -0.14%, +0.08%
Copies: 73776 -> 73815 (+0.05%); split: -0.07%, +0.12%
PreVGPRs: 84403 -> 84397 (-0.01%)

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25220>
src/amd/compiler/aco_opcodes.py
src/amd/compiler/aco_optimizer.cpp
src/amd/compiler/tests/test_optimizer.cpp