aco: fix LdsDirectVMEMHazard WaW with the wrong waitcnt
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 22 Sep 2023 19:01:55 +0000 (20:01 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 11 Oct 2023 15:14:04 +0000 (15:14 +0000)
commita73f76750bf0580a2bd4a42ffc427fba4e8a0ccb
tree3b1f815abe75ea90ed8d1c96eee1986fcdd04283
parent26c2c96d6228e27cdaa1335f798bf962df147bf1
aco: fix LdsDirectVMEMHazard WaW with the wrong waitcnt

Seems we missed this case.

fossil-db (navi31):
Totals from 24 (0.03% of 79332) affected shaders:
Instrs: 3562 -> 3538 (-0.67%)
CodeSize: 18740 -> 18644 (-0.51%)

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Fixes: 2cdb3e4b6b6d ("aco: add VMEMtoScalarWriteHazard tests")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25374>
src/amd/compiler/aco_insert_NOPs.cpp
src/amd/compiler/tests/test_insert_nops.cpp