ac/nir: add get_cache_policy() helper and use it
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 29 Oct 2018 15:16:46 +0000 (16:16 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 Jan 2019 16:59:49 +0000 (17:59 +0100)
commitaf2a85df743ed7b59b03aba96071cef12fce41c3
treef495ae4346b7f881161618a9249bbab30661d6a9
parent5e4f9ea363a638645670abeffce08ed58c37c369
ac/nir: add get_cache_policy() helper and use it

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/common/ac_nir_to_llvm.c