Skip to content

pvr: Improve support for image clears

Karmjit Mahil requested to merge CreativeCylon/mesa:dev/Fix_clear_blits into main

Sent on behalf of James Glanville james.glanville@imgtec.com

Depth/stencil surfaces are not PBE renderable, so a compatible format must be used instead. The code to calculate this compatible format was not called when configuring the PBE, and it was missing formats.

Also the code to calculate PBE swizzles was throwing an error in unhandled cases, rather than using the pre-calculated defaults which was the correct behaviour.

Fixes blits in dEQP-VK.draw.renderpass.depth_clamp.d32_sfloat

Merge request reports