[Mesa-dev] [PATCH 3/5] gallium: add new semantics for tessellation

Erik Faye-Lund kusmabite at gmail.com
Wed Jul 23 02:37:15 PDT 2014


On Sat, Jul 19, 2014 at 4:59 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> +TGSI_SEMANTIC_TESSCOORD
> +"""""""""""""""""""""""
> +
> +For tessellation evaluation shaders, this semantic label indicates the
> +coordinates of the vertex being processed. This is available in XYZ; W is
> +undefined.
> +

+ "This corresponds to gl_TessCoord" ?

> +TGSI_SEMANTIC_TESSOUTER
> +"""""""""""""""""""""""
> +
> +For tessellation evaluation/control shaders, this semantic label indicates the
> +outer tessellation levels of the patch. Isoline tessellation will only have XY
> +defined, triangle will have XYZ and quads will have XYZW defined. This
> +corresponds to gl_TessLevelOuter.
> +
> +TGSI_SEMANTIC_TESSINNER
> +"""""""""""""""""""""""
> +
> +For tessellation evaluation/control shaders, this semantic label indicates the
> +inner tessellation levels of the patch. The X value is only defined for
> +triangle tessellation, while quads will have XY defined. This is entirely
> +undefined for isoline tessellation.

+ "This corresponds to gl_TessLevelInner" ?


More information about the mesa-dev mailing list