WIP: iris: resolve buffer using the correct format

When flushing an image, check whether it's used as one of our framebuffer and use the format of the frame buffer for resolving.

This fixes an issue where we clear using the pipe_surface in srgb and resolve using the backing pipe_resource in unorm.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Closes: #2565

Edited by Lionel Landwerlin

Merge request reports