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

Kenneth Graunke kenneth at whitecape.org
Fri Mar 11 02:50:39 UTC 2016


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 outside viewport). Albeit the gles language may be
> different (and looks like gets cleared up even) the rules for gl are
> still the same
> However, just about everybody seems to hate the traditional point
> clipping, and some vendors never implemented it that way anyway (or did
> so on a case-by-case base even depending on whatever...). (d3d9 rules
> required it the same as what you're doing in this change here fwiw, so
> same as gles, whereas d3d10 "fixed" this problem by not actually
> supporting large points at all...)
> 
> Roland

Exactly.  I originally thought the test was broken.  I think ES
clarifies the language, but it doesn't actually specify *this*
behavior yet.

It seems like most vendors implement this behavior, and it's the
behavior that people actually seem to want.  Based on the bug entry,
it seems people were generally in favor of trying to write new language
to support this behavior.  But it stalled in 2014.

https://cvs.khronos.org/bugzilla/show_bug.cgi?id=10698

It's kind of sketchy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160310/7645329b/attachment.sig>


More information about the mesa-dev mailing list