[Mesa-dev] [PATCH] [RFC] r600g clip distance support

Vadim Girlin vadimgirlin at gmail.com
Wed Jan 4 17:14:20 PST 2012


The patch requires the Marek's gallium-clip-state branch [1] and the patches
from Bryan Cain for gallium/tgsi clip distance support [2].

Also it seems we need to increase MaxClipPlanes to 8 somewhere.

Tested on evergreen: fixes about 30 tests related to clip distance.

[1] http://lists.freedesktop.org/archives/mesa-dev/2011-December/016577.html
[2] http://lists.freedesktop.org/archives/mesa-dev/2012-January/016737.html

  r600g: implement clip distance

 src/gallium/drivers/r600/evergreen_state.c   |   22 ++++++++++---
 src/gallium/drivers/r600/r600_pipe.h         |    3 ++
 src/gallium/drivers/r600/r600_shader.c       |   42 ++++++++++++++++++++++---
 src/gallium/drivers/r600/r600_shader.h       |    5 +++
 src/gallium/drivers/r600/r600_state.c        |   23 ++++++++++----
 src/gallium/drivers/r600/r600_state_common.c |   24 +++++++++++++++
 6 files changed, 103 insertions(+), 16 deletions(-)

-- 
1.7.7.5



More information about the mesa-dev mailing list