radeonsi: Handle TGSI_SEMANTIC_BCOLOR.
authorMichel Dänzer <michel.daenzer@amd.com>
Thu, 6 Sep 2012 16:03:38 +0000 (18:03 +0200)
committerMichel Dänzer <michel@daenzer.net>
Fri, 26 Oct 2012 13:51:17 +0000 (15:51 +0200)
commit691f08dbeaeb71bfa26784e7ec18aa07e34893fb
tree4e940541fbad34bca90ed9880f2fe110289a338f
parent44ef033c25ee0dde97a2339d4439560885d52cad
radeonsi: Handle TGSI_SEMANTIC_BCOLOR.

Put the back face colour right after the front face colour in the LDS parameter
space.

Fixes 18 piglit tests related to two sided lighting.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/radeonsi/radeonsi_shader.c
src/gallium/drivers/radeonsi/radeonsi_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.c