radv: fix prefetching compute shaders on CIK and older chips
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 5 Apr 2018 09:19:21 +0000 (11:19 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Apr 2018 17:46:18 +0000 (19:46 +0200)
commitf1d7c16e8504a941ae481a20aa5294b964c801ce
treeaf2dc80df1451fb91b6386fd982878fdc2954600
parent7fe586f6fb69cd829d687dd58562ef5922667905
radv: fix prefetching compute shaders on CIK and older chips

Because the check was moved to radv_emit_prefetch_L2().

Fixes: 4ad7595f35 ("radv: rename radv_emit_prefetch() to radv_emit_prefetch_L2()")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c