Re: [Mesa-dev] [PATCH 5/5] i965: Stop XY clipping point and line primitives.

2016-03-10 Thread Roland Scheidegger
Am 11.03.2016 um 03:50 schrieb Kenneth Graunke: > On Friday, March 11, 2016 2:50:46 AM PST Roland Scheidegger wrote: >> Technically, this is still wrong for rendering traditional gl points, >> which indeed require points either be drawn in full (even the parts >> outside viewport, if the center is

Re: [Mesa-dev] [PATCH 5/5] i965: Stop XY clipping point and line primitives.

2016-03-10 Thread Kenneth Graunke
On Friday, March 11, 2016 2:50:46 AM PST Roland Scheidegger wrote: > Technically, this is still wrong for rendering traditional gl points, > which indeed require points either be drawn in full (even the parts > outside viewport, if the center is inside viewport) or not at all (if > the center is ou

Re: [Mesa-dev] [PATCH 5/5] i965: Stop XY clipping point and line primitives.

2016-03-10 Thread Roland Scheidegger
Technically, this is still wrong for rendering traditional gl points, which indeed require points either be drawn in full (even the parts outside viewport, if the center is inside viewport) or not at all (if the center is outside viewport). Albeit the gles language may be different (and looks like

[Mesa-dev] [PATCH 5/5] i965: Stop XY clipping point and line primitives.

2016-03-10 Thread Kenneth Graunke
Wide points and lines are not supposed to be clipped by the viewport. Rather, they should be rendered, and any fragments outside of the viewport should be discarded. The traditional use case for this behavior is rendering moving wide point particles. When the center of the point approaches the vi