main: Warn that geometry shader support is experimental.
authorPaul Berry <stereotype441@gmail.com>
Mon, 29 Jul 2013 04:48:55 +0000 (21:48 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:24:49 +0000 (20:24 -0700)
commit34c55b59251a9c6e9979c1c0094c5158ce3503cb
tree487aed8d7ebdd53652f6110cd3a82c35f46caab6
parent7cfefe6965d50d8b1b494396d7b3b16d87bb2060
main: Warn that geometry shader support is experimental.

Geometry shader support in the Mesa front end is still fairly
preliminary.  Many features are untested, and the following things are
known not to work:

- The gl_in interface block
- The gl_ClipDistance input
- Transform feedback of geometry shader outputs
- Constants that are new in GLSL 1.50 (e.g. gl_MaxGeometryInputComponents)

This isn't a problem, since no back-end drivers currently enable
geometry shaders.  However, to make sure no one gets the wrong
impression, emit a nasty warning to let the user know that geometry
shader support isn't complete.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/shaderapi.c