st/mesa: kill off point size clamping in vertex shaders
authorMarek Olšák <maraeo@gmail.com>
Fri, 27 Jan 2012 15:55:29 +0000 (16:55 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 30 Jan 2012 23:54:34 +0000 (00:54 +0100)
commit177845daa150403311e51e3bdc27e5014d40e915
tree3ce8199072aac4f17d9c975db0180830ba10d4cb
parentf183cc9ce3ad1d043bdf8b38fd519e8f437714fc
st/mesa: kill off point size clamping in vertex shaders

This fixes the gl_PointSize transform feedback test.
Point size clamping should happen at the rasterizer stage,
i.e. after the vertex and geometry shaders and transform feedback.

Drivers are expected to do this by themselves.
src/mesa/program/prog_statevars.c
src/mesa/program/prog_statevars.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_mesa_to_tgsi.c