From 81567d01c137bdb41fce6d75d41c63d8183a3f89 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 29 Dec 2017 10:45:28 -0800 Subject: [PATCH] braodcom/vc5: Fix internal type/bpp for RGB10_A2UI images. I found that we were getting GPU hangs on most tests rendering to them, and the simulator was assertion failing. --- src/gallium/drivers/vc5/vc5_formats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/vc5/vc5_formats.c b/src/gallium/drivers/vc5/vc5_formats.c index 432db913b42..08e1dd0383d 100644 --- a/src/gallium/drivers/vc5/vc5_formats.c +++ b/src/gallium/drivers/vc5/vc5_formats.c @@ -360,6 +360,7 @@ vc5_get_internal_type_bpp_for_output_format(uint32_t format, *bpp = V3D_INTERNAL_BPP_32; break; + case V3D_OUTPUT_IMAGE_FORMAT_RGB10_A2UI: case V3D_OUTPUT_IMAGE_FORMAT_RGBA16UI: *type = V3D_INTERNAL_TYPE_16UI; *bpp = V3D_INTERNAL_BPP_64; -- 2.30.2