OSDN Git Service

tnl: let _TNL_ATTRIB_POINTSIZE do not depend on ctx->VertexProgram._Enabled
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 23 Feb 2012 06:19:18 +0000 (14:19 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Mon, 5 Mar 2012 02:39:54 +0000 (10:39 +0800)
commit9962280c332aba4b945b73ae19862041a7053a71
treeb6f776495f32b1b8da90b6b219c58f3e09e74c75
parentbefcce264c8bf8fdac233e6a01cadc595a1d11d3
tnl: let _TNL_ATTRIB_POINTSIZE do not depend on ctx->VertexProgram._Enabled

We may specify the point size in a glsl vertex shader.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46311
piglit: glsl-vs-point-size

NOTE: This is a candidate for stable release branches.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/tnl/t_context.c