i965/miptree: Choose the stencil layout in miptree_create_layout
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 2 Jun 2017 17:05:21 +0000 (10:05 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 15 Jun 2017 01:15:05 +0000 (18:15 -0700)
commitee0e29dd0274038957af4ac62b5ffab8d2a25704
tree11bef0d04aaf691b0bd920572fc142e2b50070bf
parent6f6aa0f462680a9796afdecdb37a68be7bacdad6
i965/miptree: Choose the stencil layout in miptree_create_layout

This ensures that we get the correct layout for all stencil buffers, not
just those which are created as separate stencil for a depth buffer.

Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
src/mesa/drivers/dri/i965/intel_mipmap_tree.c