aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5/vc5_formats.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-12-29 10:45:28 -0800
committerEric Anholt <[email protected]>2018-01-03 14:31:37 -0800
commit81567d01c137bdb41fce6d75d41c63d8183a3f89 (patch)
tree9e597202836d8976628c8185053f1a50effe180a /src/gallium/drivers/vc5/vc5_formats.c
parenta93fd7b41e3e3c8c2c35d45dc171a87cdc45060a (diff)
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.
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_formats.c')
-rw-r--r--src/gallium/drivers/vc5/vc5_formats.c1
1 files changed, 1 insertions, 0 deletions
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;