radv: use proper maximum slice for layered view
authorDave Airlie <airlied@redhat.com>
Mon, 9 Jan 2017 07:02:17 +0000 (07:02 +0000)
committerDave Airlie <airlied@redhat.com>
Sat, 28 Jan 2017 00:52:20 +0000 (10:52 +1000)
commit989ec617031ac5642e7d0a8358a09c5c8ed93b53
tree59b807fdf0e0499d0f04565a8e246c37f4b9464c
parent6403e3765114b4f540ed1f5a714fbf1ff4d1bedc
radv: use proper maximum slice for layered view

this fixes deferred shadows with geom shaders enabled.

but I think this fix is fine by itself.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c