r600g: implement two-sided lighting (v3)
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 6 Jan 2012 04:13:18 +0000 (08:13 +0400)
committerDave Airlie <airlied@redhat.com>
Sun, 15 Jan 2012 16:19:41 +0000 (16:19 +0000)
commit725a820b926575265e6790601a0defd9c30947dc
treefb9078fa692ec555f7831b8c70e12dd57eff32bb
parentd84ab821c5f5bfe9f6a57e434af9ca06d54f45b3
r600g: implement two-sided lighting (v3)

v2: select the colors in the pixel shader

v3: fix rs state creation for pre-evergreen

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