ac/nir: add support for all intrinsics. (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 9 Nov 2017 01:00:50 +0000 (01:00 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 9 Nov 2017 01:25:59 +0000 (01:25 +0000)
commit6bec8bcd79ed8bb3e3d5b56891df0fc5bf5e8cd3
treeaa22fe8cb5de51d275babc89a4dc54dd545ee26b
parent87f02ddfd123e87795f577ea3b4669bdeecb69c1
ac/nir: add support for all intrinsics. (v2)

This is derived from tgsi/radeonsi code from the GLSL intrinsics.

This should pre-fix radv for the upcoming spirv patches.

v2: actually use wait_cnt, sleep deprived dad time! (Bas)

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c