Fix clang

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

View File

@ -112,10 +112,7 @@ 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 || if (dst_sharp.base_address == 0x510e0000 || dst_sharp.base_address == 0x1926e0000 || dst_sharp.base_address == 0x1928e0000 || dst_sharp.base_address == 0x1d42e0000) {
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;