Skip to content

panfrost: convert resources before binding them to images

Eric Smith requested to merge ericsmith/mesa:ericsmith/piglit_image_crash into main
pan_resource_modifier_convert can use a blit to convert images
from AFBC. If we call this from panfrost_set_shader_images then
we end up crashing due to using an inconsistent set of images.
Fix this by moving the AFBC/AFRC conversion to before the image
bindings.

This fixes a crash in piglit oes_egl_image_external_essl3 tests.
Edited by Eric Smith

Merge request reports

Loading