r600g: port the layered surface rendering patch from radeonsi
authorDave Airlie <airlied@redhat.com>
Tue, 28 Jan 2014 23:15:29 +0000 (23:15 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 5 Feb 2014 00:49:41 +0000 (10:49 +1000)
commit7863611de3305208effe96fbbef5eaf49b60c904
tree3f137a46c6508c367b95743c24d28cca90c0c76d
parentf89394be986843a65150ae9bef761b73e58fd1ba
r600g: port the layered surface rendering patch from radeonsi

This just makes r600 and evergreen do what the radeonsi codepaths do
for layered rendering. This makes the 2d amd_vertex_shader_layer test
pass on evergreen.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c