[Mesa-dev] [PATCH 1/2] meta: Also save/restore clip planes for GLSL.

Brian Paul brianp at vmware.com
Fri Jul 22 11:47:38 PDT 2011


On 07/22/2011 12:15 PM, Eric Anholt wrote:
> Fixes user-clip on 965 with 3D clears enabled.  I created a separate
> flag because I wanted to avoid the overhead of the matrix operations
> in this path.
> ---
>   src/mesa/drivers/common/meta.c |   12 ++++++++++++
>   1 files changed, 12 insertions(+), 0 deletions(-)


Reviewed-by: Brian Paul <brianp at vmware.com>


One minor thing, this comment should be updated too:

#define META_TRANSFORM       0x800 /**< modelview, projection, clip 
planes */

to perhaps:

#define META_TRANSFORM       0x800 /**< matrix state */

-Brian


More information about the mesa-dev mailing list