Upstream commit https://gitlab.freedesktop.org/mesa/mesa/-/commit/83954925873626b180e35ae34ab250492fbaf21e fixes it for me. ../mesa-21.1.0-rc2/src/gallium/drivers/zink/zink_resource.c: In function 'zink_transfer_map': ../mesa-21.1.0-rc2/src/gallium/drivers/zink/zink_resource.c:1009:29: error: 'struct zink_context' has no member named 'flush_res' 1009 | scanout = ctx->flush_res; | ^~ ../mesa-21.1.0-rc2/src/gallium/drivers/zink/zink_resource.c:1010:19: error: 'struct zink_context' has no member named 'flush_res' 1010 | ctx->flush_res = res; | ^~ ../mesa-21.1.0-rc2/src/gallium/drivers/zink/zink_resource.c:1016:19: error: 'struct zink_context' has no member named 'flush_res' 1016 | ctx->flush_res = scanout; | ^~ ../mesa-21.1.0-rc2/src/gallium/drivers/zink/zink_resource.c:1034:29: error: 'struct zink_context' has no member named 'flush_res' 1034 | scanout = ctx->flush_res; | ^~ ../mesa-21.1.0-rc2/src/gallium/drivers/zink/zink_resource.c:1035:19: error: 'struct zink_context' has no member named 'flush_res' 1035 | ctx->flush_res = res; | ^~ ../mesa-21.1.0-rc2/src/gallium/drivers/zink/zink_resource.c:1043:19: error: 'struct zink_context' has no member named 'flush_res' 1043 | ctx->flush_res = scanout; | ^~ Reproducible: Always
Created attachment 701652 [details, diff] Upstream raw commit
# wget https://gitlab.freedesktop.org/mesa/mesa/-/commit/83954925873626b180e35ae34ab250492fbaf21e.diff --directory-prefix=/etc/portage/patches/media-libs/mesa-21.1.0_rc2 # emerge media-libs/mesa
(In reply to Maxim Britov from comment #2) > # wget > https://gitlab.freedesktop.org/mesa/mesa/-/commit/ > 83954925873626b180e35ae34ab250492fbaf21e.diff > --directory-prefix=/etc/portage/patches/media-libs/mesa-21.1.0_rc2 > # emerge media-libs/mesa Thanks, worked for me.
please test again with 21.1.0_rc3, the patch should have been merged into it.
media-libs/mesa-21.1.0_rc3 builds fine