OSDN Git Service

swr/rast: Faster frustum prim culling
authorGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 7 Feb 2018 18:24:23 +0000 (12:24 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Wed, 28 Feb 2018 17:42:46 +0000 (11:42 -0600)
commit7e813f62149b9141d2f8970d35ab7ffbd0e0637c
treec598b4e4afc9234efc0a5f8ca05c5709dd9ead69
parent1c73f42e6e55de0be21221979882f6e42b3c2747
swr/rast: Faster frustum prim culling

Fix clipper validMask setting. We don't need to run frustum rejected
primitives through the clipper.  Perform frustum culling with only
frustum clip codes. Guardband clip codes cannot be used because they
overlap frustum codes.

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