zink compilation failure mesa 21.1.0_rc2
System information
- OS: Gentoo
- GPU: 1e:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c0)
- Kernel version: Linux msi-b450 5.10.27-gentoo #1 (closed) SMP PREEMPT Wed Mar 31 17:38:33 WEST 2021 x86_64 AMD Ryzen 7 2700X Eight-Core Processor AuthenticAMD GNU/Linux
- Mesa version: 21.1.0_rc2
Describe the issue
zink doesn't compile.
struct zink_context’ has no member named ‘flush_res’
Log files as attachment
partial output:
../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;
| ^~
partial output:
* ERROR: media-libs/mesa-21.1.0_rc2::gentoo failed (compile phase):
* ninja -v -j17 -l0 -C /var/tmp/portage/media-libs/mesa-21.1.0_rc2/work/mesa-21.1.0-rc2-abi_x86_32.x86 failed
If you think this is not the right place I will post it on Gentoo bug tracker.
Thanks.