aco: create long jumps

Graphics / Mesa 3D Graphics Library / Mesa - Rhys Perry [gmail.com] - 26 August 2020 13:26 UTC

When the branch offset can't be encoded, we have to use s_setpc_b64.

Fixes hang in RPCS3 vertex ubershader.

fe2dc41258b aco: create long jumps
src/amd/compiler/aco_assembler.cpp | 152 ++++++++++++++++++++++++++++++-------
src/amd/compiler/aco_builder_h.py | 2 +-
2 files changed, 126 insertions(+), 28 deletions(-)

Upstream: cgit.freedesktop.org


  • Share