[Mesa-dev] RFC [PATCH 0/7] Fix transform feedback of builtin "varyings".

Paul Berry stereotype441 at gmail.com
Thu Dec 29 09:27:14 PST 2011


On 29 December 2011 09:16, Paul Berry <stereotype441 at gmail.com> wrote:

> Arguments in favor: (1) Because of transform feedback's intended use
> and its position in the pipeline, the distinction between varyings and
> other vertex shader outputs is irrelevant; in all likelihood the spec
> writers intended for it to work on all vertex shader outputs.  (2) The
> very use of the term "varying" (and hence, this distinction) has
> largely disappeared from the standard as of GLSL 1.30.  (3) nVidia's
> proprietary Linux driver supports transform feedback of all vertex
> shader outputs (except gl_ClipVertex, which has many other bugs), so
> it's conceivable that some code in the wild relies on this feature.
> (4) Fixing transform feedback of gl_ClipVertex provides a nice
> opportunity to prepare for the changes we will have to make to
> transform feedback in order to support varying packing.
>

Whoops, that last "gl_ClipVertex" should be "gl_ClipDistance".  Sorry if
that caused any confusion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111229/9b194753/attachment.htm>


More information about the mesa-dev mailing list