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

Ilia Mirkin imirkin at alum.mit.edu
Wed Nov 9 17:09:50 UTC 2016


On Wed, Nov 9, 2016 at 12:06 PM, Rowley, Timothy O
<timothy.o.rowley at intel.com> wrote:
>
>> On Nov 9, 2016, at 11:03 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>>
>> On Wed, Nov 9, 2016 at 12:03 PM, Rowley, Timothy O
>> <timothy.o.rowley at intel.com> wrote:
>>> SwrSetRastState shouldn’t be overriding what the caller passed in.  clip.h changes look good.
>>
>> Then how should I force halfZ to 1 for DX?
>
> The user of the swr api will set clipHalfZ appropriately in the SWR_RASTSTATE that they pass in.

Oh, that's nice. I just didn't want to break existing users. But if
that's an OK thing to do, even better :)

Will drop that bit from my commit. Want me to resend?


More information about the mesa-dev mailing list