mesa: Copy linked program data for GS.
authorPaul Berry <stereotype441@gmail.com>
Sat, 23 Mar 2013 17:51:53 +0000 (10:51 -0700)
committerPaul Berry <stereotype441@gmail.com>
Fri, 2 Aug 2013 03:22:07 +0000 (20:22 -0700)
commitfc5fa56c86df066514e1ca4eff16c1f179884188
treea6e56165db17d48f4f3491a34c3750474caa36fb
parent13022c9c5f3cb67c76ed76eae9cd8a49355874a5
mesa: Copy linked program data for GS.

The documentation for gl_shader_program.Geom and gl_geometry_program
says that the former is copied to the latter at link time, but this
wasn't happening.  This patch causes _mesa_ir_link_shader() to perform
the copy, and updates comment accordingly.

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