From be11251e3c0f4ef2ad57aa83dbb480bc2b95328a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 28 Sep 2017 11:47:50 -0700 Subject: broadcom/vc5: Add missing Z16 format. We can render to and sample from it just fine. --- src/gallium/drivers/vc5/vc5_formats.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers/vc5') diff --git a/src/gallium/drivers/vc5/vc5_formats.c b/src/gallium/drivers/vc5/vc5_formats.c index fe2600207e9..d0c96cc97d4 100644 --- a/src/gallium/drivers/vc5/vc5_formats.c +++ b/src/gallium/drivers/vc5/vc5_formats.c @@ -185,6 +185,7 @@ static const struct vc5_format vc5_format_table[] = { FORMAT(X8Z24_UNORM, DEPTH_COMPONENT24, DEPTH24_X8, SWIZ_X001, 32, 1), FORMAT(S8X24_UINT, NO, R32F, SWIZ_X001, 32, 1), FORMAT(Z32_FLOAT, DEPTH_COMPONENT32F, R32F, SWIZ_X001, 32, 1), + FORMAT(Z16_UNORM, DEPTH_COMPONENT16, DEPTH_COMP16, SWIZ_X001, 32, 1), /* Pretend we support this, but it'll be separate Z32F depth and S8. */ FORMAT(Z32_FLOAT_S8X24_UINT, DEPTH_COMPONENT32F, R32F, SWIZ_X001, 32, 1), -- cgit v1.2.3