anv: Unify 3DSTATE_CLIP code across generations.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Jul 2016 21:27:35 +0000 (14:27 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 20 Jul 2016 17:59:44 +0000 (10:59 -0700)
commitbfd9942cdc0db19838a4516f4a67e1bcf25a9d30
treebc56c877722af4dc93a45e4388d9cc553cb614a2
parent44502afd8219c298fafa39625a178713c912d975
anv: Unify 3DSTATE_CLIP code across generations.

The bulk of this is the same.  There are just a couple fields that only
exist on one generation or another, and we can easily handle those with
an #ifdef.

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/gen7_pipeline.c
src/intel/vulkan/gen8_pipeline.c
src/intel/vulkan/genX_pipeline_util.h