swr/rast: Cull prims when all verts have negative clip distances
authorGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 1 Feb 2018 23:43:04 +0000 (17:43 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Fri, 16 Feb 2018 16:54:00 +0000 (10:54 -0600)
commit3e560b7c851d6b663bfdad4e10f1363404c80ad9
tree9cb1e18d243ea76141f0dd57fe6a701c12c20cfb
parentcb4b604ebdbaf6fb819864c12c2ae45b83c411df
swr/rast: Cull prims when all verts have negative clip distances

Performance optimization, and fixes some clipping issues.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/clip.h