commit | b18840ac6e0b6cb4d8a7b7b6a5c504561e3a8696 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Tue Nov 21 15:00:36 2017 -0800 |
committer | Eric Anholt <eric@anholt.net> | Wed Nov 22 10:56:31 2017 -0800 |
tree | 826506be89963199c935c7c3dd593c95fb027174 | |
parent | 9f162fa10749fe4ed3dd59d320852e1476420be6 [diff] |
broadcom/vc5: Fix UIF surface size setup for ARB_fbo's mismatched sizes. The HW was computing an implicit height for the surface based on the image size, but that may be smaller than the surface with ARB_fbo mismatched sizes. In that case, we need to tell it about the pad, either with the little 4-bit field in the RT config, or the extended field in CLEAR_COLORS_PART3. Fixes piglit arb_framebuffer_object-mixed-buffer-sizes.