winsys/amdgpu: set flags correctly when allocating depth-stencil buffers
authorMarek Olšák <marek.olsak@amd.com>
Thu, 19 May 2016 18:10:10 +0000 (20:10 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 1 Jun 2016 15:35:30 +0000 (17:35 +0200)
commitea68215c545ba9600d20718a372707be8e0f3905
treec97c0da7540791bbd66dc0b6973dc7944aeadc5c
parent532a5af47fbc585c4132f9ad15f5e0a57c59320b
winsys/amdgpu: set flags correctly when allocating depth-stencil buffers

This mimics Vulkan. It also documents how to fix stencil texturing.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/winsys/amdgpu/drm/amdgpu_surface.c