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

Rowley, Timothy O timothy.o.rowley at intel.com
Wed Nov 9 17:42:50 UTC 2016


> On Nov 9, 2016, at 11:09 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> 
> 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 :)

We can adjust users to API changes that clean things up.

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

If you could, yes.

-Tim



More information about the mesa-dev mailing list