Try to fix clang

This commit is contained in:
rafael-57 2024-08-31 01:17:00 +02:00 committed by GitHub
parent 6f8f8db01c
commit 97cdaf68ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -112,7 +112,10 @@ bool ComputePipeline::BindResources(VideoCore::BufferCache& buffer_cache,
const auto src_sharp = src.GetSharp(*info); const auto src_sharp = src.GetSharp(*info);
const auto& dst = info->texture_buffers[1]; const auto& dst = info->texture_buffers[1];
const auto dst_sharp = dst.GetSharp(*info); const auto dst_sharp = dst.GetSharp(*info);
if (dst_sharp.base_address == 0x510e0000 || dst_sharp.base_address == 0x1926e0000 || dst_sharp.base_address == 0x1928e0000 || dst_sharp.base_address == 0x1d42e0000) { if (dst_sharp.base_address == 0x510e0000 ||
dst_sharp.base_address == 0x1926e0000 || // Release
dst_sharp.base_address == 0x1928e0000 || // ReleaseWithDebInfo
dst_sharp.base_address == 0x1d42e0000) {
VideoCore::ImageViewInfo view_info; VideoCore::ImageViewInfo view_info;
view_info.format = vk::Format::eR8G8B8A8Unorm; view_info.format = vk::Format::eR8G8B8A8Unorm;
view_info.type = vk::ImageViewType::e2D; view_info.type = vk::ImageViewType::e2D;