aco: add Program::wgp_mode
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 28 Jan 2021 11:07:26 +0000 (11:07 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 15 Feb 2021 13:35:14 +0000 (13:35 +0000)
commitf520f4c299c2c976c14eeea8bd0691e709d5e6db
tree2176bd6e26457f297d9ddfa1a522af568735cdb3
parent592d64611c6bde8bbdba4dd48f424c3b5aa75ea9
aco: add Program::wgp_mode

Instead of assuming WGP mode on GFX10+ in different places, add a member
to Program that can be used instead.

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/8761>
src/amd/compiler/aco_insert_waitcnt.cpp
src/amd/compiler/aco_ir.cpp
src/amd/compiler/aco_ir.h
src/amd/compiler/aco_live_var_analysis.cpp