From 725a820b926575265e6790601a0defd9c30947dc Mon Sep 17 00:00:00 2001 From: Vadim Girlin Date: Fri, 6 Jan 2012 08:13:18 +0400 Subject: 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 Signed-off-by: Dave Airlie --- src/gallium/drivers/r600/evergreen_state.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/r600/evergreen_state.c') diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index dd8b8300a09..59328b959cf 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -906,6 +906,7 @@ static void *evergreen_create_rs_state(struct pipe_context *ctx, rs->clamp_fragment_color = state->clamp_fragment_color; rs->flatshade = state->flatshade; rs->sprite_coord_enable = state->sprite_coord_enable; + rs->two_side = state->light_twoside; clip_rule = state->scissor ? 0xAAAA : 0xFFFF; -- cgit v1.2.3