Skip to content

panfrost: Add back A8_UNORM format for valhall

Eric Smith requested to merge ericsmith/mesa:pan_va_a8_unorm into main
panfrost: Add back A8_UNORM format for valhall

If A8_UNORM isn't specified in the format table, then it is emulated
in the state tracker by RGBA8. This is suboptimal, both because it requires
more memory, and because the blit gets more complicated (and in fact there
appears to be a bug currently in the blit code where we don't mask properly when
the source's internal format is GL_ALPHA and we are emulating with GL_RGBA).
Fix this by adding an explicit A8_UNORM format entry for valhall.

Fixes piglit test ext_framebuffer_multisample-blit-mismatched-formats.

Merge request reports

Loading