mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 07:00:11 +01:00
zink: Correct compiler issue with have_moltenvk member having been moved.
have_moltenvk was moved to a different location but code being protected in platform specific guard, so was unnoticed.
Fixes: 598dc3dca4 ("zink: use cached memory for all resources when possible")
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11129>
This commit is contained in:
parent
6add9b2753
commit
18e8ec5f37
1 changed files with 1 additions and 1 deletions
|
|
@ -973,7 +973,7 @@ buffer_transfer_map(struct zink_context *ctx, struct zink_resource *res, unsigne
|
|||
// This is a known limitation of MoltenVK.
|
||||
// See https://github.com/KhronosGroup/MoltenVK/blob/master/Docs/MoltenVK_Runtime_UserGuide.md#known-moltenvk-limitations
|
||||
|
||||
|| screen->have_moltenvk
|
||||
|| screen->instance_info.have_MVK_moltenvk
|
||||
#endif
|
||||
) {
|
||||
VkDeviceSize size = box->width;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue