ac/nir: pass ac_nir_context to emit_ddxy
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 24 Jun 2017 20:57:33 +0000 (22:57 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 12:55:41 +0000 (14:55 +0200)
commit28634ff7d3fb010f8fc400f332e96dd72abfbbb6
tree20c0d5bc4a6cb4083d164815eacacc623fa3b821
parentc5f3912e13e7e2d0abfdecdf4f71350e5912d0df
ac/nir: pass ac_nir_context to emit_ddxy

Allocating the ddxy_lds is considered to be part of the API shader
translation and not part of the ABI.

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