radeonsi: set shader calling conventions
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 31 Mar 2016 09:58:26 +0000 (11:58 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 6 Apr 2016 19:54:35 +0000 (21:54 +0200)
commit339335811580c522d6ff66878bc40e662739c47b
tree44083f4bf9fbff7530eaa9924fd147d958295837
parent0293d72fa56b2cae664a5727abceddb8046d2e92
radeonsi: set shader calling conventions

Note that old mesa + new LLVM or new mesa + old LLVM breaks
with this change and the corresponding LLVM change (D18559).

For LLVM version <= 3.8 we use the old method, but we can't detect
people using a post 3.8 svn version that is still too old.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeon/radeon_llvm_emit.c