braodcom/vc5: Fix internal type/bpp for RGB10_A2UI images.
authorEric Anholt <eric@anholt.net>
Fri, 29 Dec 2017 18:45:28 +0000 (10:45 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 3 Jan 2018 22:31:37 +0000 (14:31 -0800)
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

index 432db913b42547533ff767460ef9a3319209baa1..08e1dd0383d3685cb3abe7ae4eb422891933bf79 100644 (file)
@@ -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;