radeonsi: add unpack_llvm_param() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 6 Dec 2017 03:18:34 +0000 (14:18 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 5 Jan 2018 00:58:55 +0000 (11:58 +1100)
commit9c2f877830b25744d2fdd930a12959723c6c42f3
tree5a879b516134dbc0e801cdff8693766cb20a4450
parentf93740efc1c75e26a7cb4bb7b41a60fcfdd4fed3
radeonsi: add unpack_llvm_param() helper

This allows us to pass the llvm param directly rather than looking
it up.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c