[Mesa-dev] [PATCH 1/2] swr: [rasterizer core] allow an OpenGL driver to specify halfz clipping

Ilia Mirkin imirkin at alum.mit.edu
Wed Nov 9 16:16:03 UTC 2016


On Wed, Nov 9, 2016 at 11:12 AM, Rowley, Timothy O
<timothy.o.rowley at intel.com> wrote:
> Yes, that was about to be my suggestion too - remove the drivertype use in the clipper and use the “clipHalfZ” flag instead.
>
> driverType is still used in the SwrSetViewports setup, so can’t be completely removed right now.

Right. I was thinking of that as the "API" level, vs all the actual
rasterization/etc logic as the "core". Perhaps you have different
terminology.

Unsurprisingly, that last usage will also be about halfz, so if you
can update your DX frontend to just set that bit, we could get rid of
the driverType entirely. Not sure what your other users of swr are, so
perhaps that's not a reasonable request.

  -ilia


More information about the mesa-dev mailing list