Signed-off-by: Tomeu Vizoso <tomeu.viz...@collabora.com> --- src/gallium/drivers/panfrost/pan_context.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index b419f25224f2..776469c3e411 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -115,6 +115,7 @@ panfrost_enable_afbc(struct panfrost_context *ctx, struct panfrost_resource *rsr true, 0, 0, 0); rsrc->bo->has_afbc = true; + rsrc->bo->gem_handle = rsrc->bo->afbc_slab.gem_handle; /* Compressed textured reads use a tagged pointer to the metadata */ -- 2.20.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev