anv: Implement "pop-free" clipping
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 19 Jun 2019 22:07:43 +0000 (17:07 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 21 Jun 2019 14:18:59 +0000 (14:18 +0000)
commit1a9e5b909430b00ee9ca74d36707ea0bf4727845
treeede095ac0765a3344ce3b8e6cd870ebd79351f7d
parent4a757d6c31563fd92d7cfb4ab2e8e7b3ad62014c
anv: Implement "pop-free" clipping

This is the preferred clipping mode since it doesn't mean your points
disappear the moment part of the point crosses over the edge of the
viewport and that lines have weird endpoints at viewport edges.  We've
just never bothered to hook it up until now.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/genX_pipeline.c