ac/nir: begin splitting off ac_nir_context
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 19 May 2017 15:03:20 +0000 (17:03 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 12:55:32 +0000 (14:55 +0200)
commitb2367cfcc766442346c63154fa3ea1fe6e407c94
tree5e7bd1648ec290c4cf1c1dca88f6d2dd10864e55
parent90b3ba89707ece2d56c0040c92610ca5ba52f63a
ac/nir: begin splitting off ac_nir_context

The eventual goal is to hide all radv-specific details behind
ac_nir_context::abi, so that the NIR->LLVM code can be re-used by
radeonsi.

During development, we live with a partial split, where some of the
NIR->LLVM code still relies on linking back to the nir_to_llvm_context
(which should ultimately be renamed to reflect that it's radv-specific).
The idea is to get rid of these backlinks over time.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h