radv: move to using nir clip/cull merge pass.
authorDave Airlie <airlied@redhat.com>
Wed, 29 Mar 2017 05:12:31 +0000 (15:12 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 30 Mar 2017 01:04:56 +0000 (11:04 +1000)
commit2b35b60df15a158541f147750085fe051909ba5d
tree0546b6afd58da4db0d261f4d614df9b04ec0e2df
parent5079c277b577b5052113567ee70b790b965ec933
radv: move to using nir clip/cull merge pass.

Doing this before tessellation makes doing some bits of
tessellation a bit cleaner. It also cleans up a bit of the
llvm generator code.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c