gallium/auxiliary: Add util_format_get_depth_only() helper.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Jul 2018 22:20:47 +0000 (15:20 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 15 Oct 2018 06:36:28 +0000 (23:36 -0700)
commit5849e0612cc4c21d213bdb4bd8d0a3f9531cc2b3
tree8f6a9bd56313a9af9050387ed1b2796f954dabc1
parent1c0f92d8a8c480a5803c3ce45b2a6d46bfcd280f
gallium/auxiliary: Add util_format_get_depth_only() helper.

This will be used by u_transfer_helper.c shortly, in order to split
packed depth-stencil into separate resources.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/util/u_format.h