radv: fix stencil regression since new addrlib import
authorDave Airlie <airlied@redhat.com>
Thu, 13 Apr 2017 04:36:26 +0000 (14:36 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Apr 2017 10:32:03 +0000 (20:32 +1000)
commit01d0c5a92294e3413a8e72970e25635057674659
treeaac913d82ec0a8e7ee617ca05f345aca0b275709
parent4bcebe10ca322c1237d93a0bb786b91731f90589
radv: fix stencil regression since new addrlib import

The addrlib import meant we'd return after we attempted
to setup the no stencil bits for an S8_UINT, now we break
and use the stencil level info when creating stencil DB
info.

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