Module: Mesa
Branch: master
Commit: 81567d01c137bdb41fce6d75d41c63d8183a3f89
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=81567d01c137bdb41fce6d75d41c63d8183a3f89

Author: Eric Anholt <[email protected]>
Date:   Fri Dec 29 10:45:28 2017 -0800

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 432db913b4..08e1dd0383 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;

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to