broadcom/vc5: Use DEPTH24_STENCIL8 for rendering to depth-only textures.
authorEric Anholt <eric@anholt.net>
Mon, 30 Oct 2017 22:12:33 +0000 (15:12 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Nov 2017 17:19:48 +0000 (09:19 -0800)
commit47dac5d2bc8b72a5ea96bccd537ca31b6713f090
tree4ecb996c42adb22dde71609de8b9d011b82c0f02
parent3ea37d0a2aa33a37b292b82e83526361f71ffd7e
broadcom/vc5: Use DEPTH24_STENCIL8 for rendering to depth-only textures.

The HW puts the pad bits at the top for DEPTH_COMPONENT24, but we need it
at the bottom for texturing.  Using the format with stencil probably means
we won't be able to do Z24 and separate S8, but I wasn't planning on
supporting that anyway.

Fixes hiz-depth-read-fbo-d24-s0
src/gallium/drivers/vc5/vc5_formats.c