mirror of
https://codeberg.org/yuzu-emu/yuzu.git
synced 2025-12-16 12:09:04 +00:00
vulkan: Rename resolve_image to resolve_image_holder
Fix Android compilation with latest NDK (28.0.13004108) and Java JDK 21 by renaming the resolve_image variable to resolve_image_holder to avoid potential naming conflicts. This change helps maintain compatibility with the updated build toolchain while keeping the core functionality intact. The change affects the MSAA image copy operation in the Vulkan texture cache implementation.
This commit is contained in:
parent
d2a0de0cef
commit
fb8c9af17f
@ -1490,10 +1490,10 @@ void TextureCacheRuntime::CopyImageMSAA(Image& dst, Image& src, std::span<const
|
||||
.initialLayout = VK_IMAGE_LAYOUT_UNDEFINED,
|
||||
};
|
||||
|
||||
const auto resolve_image = memory_allocator.CreateImage(resolve_ci);
|
||||
const auto resolve_image_holder = memory_allocator.CreateImage(resolve_ci);
|
||||
|
||||
scheduler.RequestOutsideRenderPassOperationContext();
|
||||
scheduler.Record([src_image, dst_image, resolve_image = *resolve_image,
|
||||
scheduler.Record([src_image, dst_image, resolve_image = *resolve_image_holder,
|
||||
copies, aspect_mask](vk::CommandBuffer cmdbuf) {
|
||||
for (const auto& copy : copies) {
|
||||
const VkExtent3D extent{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user