r600g: implement clip vertex v2
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 20 Jan 2012 21:37:48 +0000 (01:37 +0400)
committerDave Airlie <airlied@redhat.com>
Sat, 21 Jan 2012 12:43:14 +0000 (12:43 +0000)
commit54e8dcaad65cbe3603730414fd8d76ac53f89a86
tree76af72a0c0697df506fd19e450174302cbc2a3fc
parentd649bf51ec787021f7872e2a4c09fb2188c0891b
r600g: implement clip vertex v2

Clip planes are uploaded as a constant buffer and used by the vertex
shader to produce corresponding clip distances for hw clipping.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_hw_context.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/evergreend.h
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/r600/r600d.h