aco: add pending_lds_access option for insert waitcnt
authorQiang Yu <yuq825@gmail.com>
Tue, 15 Aug 2023 07:24:09 +0000 (15:24 +0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Aug 2023 02:27:45 +0000 (02:27 +0000)
commita2484b20f9018de073b7633cee109ad336babbe1
tree1981570ddbb7fcf664decbfdd993968ea745c282
parent5cf6f4f9a7447d9aae05322230fc00f263c71ac0
aco: add pending_lds_access option for insert waitcnt

For tcs epilog to add p_barrier at the beginning to sync
main shader part tess factor LDS write.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24442>
src/amd/compiler/aco_insert_waitcnt.cpp
src/amd/compiler/aco_ir.h