radv/ac: handle writing out tess factors.
authorDave Airlie <airlied@redhat.com>
Thu, 30 Mar 2017 07:44:26 +0000 (08:44 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 31 Mar 2017 21:16:47 +0000 (07:16 +1000)
commitaaabdd6bc6ac6e7edf218c473cf2a7a9a02c116e
treec0438923742e5ccffd7b19debd42092a3ba9b49c
parent94f9591995f3e682a570400c7b6e6237b89ad113
radv/ac: handle writing out tess factors.

This ports the code from radeonsi to build the if/endif,
and ports the tess factor emission code. This code has
an optimisation TODO that we can deal with later.

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