From: Eric Anholt Date: Fri, 29 Dec 2017 18:45:28 +0000 (-0800) Subject: braodcom/vc5: Fix internal type/bpp for RGB10_A2UI images. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81567d01c137bdb41fce6d75d41c63d8183a3f89;p=mesa.git 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. --- 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;