OSDN Git Service

anv: Unify 3DSTATE_CLIP code across generations.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 18 Jul 2016 21:27:35 +0000 (14:27 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Jul 2016 15:03:03 +0000 (16:03 +0100)
commit1dd0c22ab07cdaec50c0c0e33bddb6842eb0d86d
treeef5faca876eb5c6cf11e0abb067b61392a85441d
parenta00081a9e8b588dd0c60ceaea08ddfac0399e6fd
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>
(cherry picked from commit bfd9942cdc0db19838a4516f4a67e1bcf25a9d30)
src/intel/vulkan/gen7_pipeline.c
src/intel/vulkan/gen8_pipeline.c
src/intel/vulkan/genX_pipeline_util.h