ac/radeonsi: add tcs load outputs support
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 9 Jan 2018 01:12:45 +0000 (12:12 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 17 Jan 2018 13:03:33 +0000 (00:03 +1100)
commit9622b445c87e6099a3cafe5b868fa5820dfdfd3f
tree459175bdf4fa8b914d09272354af0bc7920806d8
parenta20016d8277f9cd68620784417a57ae227783a04
ac/radeonsi: add tcs load outputs support

The code to load outputs is essentially the same as load inputs
so we make the interface more generic to maximise code sharing.

We will make use of the new support in the following patch.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_abi.h
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h