Update vk_compute_pipeline.cpp

This commit is contained in:
rafael-57 2024-08-31 00:50:21 +02:00 committed by GitHub
parent bec7520f50
commit 654e43c8f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ bool ComputePipeline::BindResources(VideoCore::BufferCache& buffer_cache,
LOG_WARNING(Render_Vulkan, "Unexpected metadata read by a CS shader (buffer)"); LOG_WARNING(Render_Vulkan, "Unexpected metadata read by a CS shader (buffer)");
} }
} }
if (desc.is_written && info->pgm_hash != 0xfefebf9f && info->pgm_hash != 0x3d5ebf4e) { if (desc.is_written && info->pgm_hash != 0xfefebf9f /*Adjo_video_player_fix && info->pgm_hash != 0x3d5ebf4e */) {
texture_cache.InvalidateMemory(address, size); texture_cache.InvalidateMemory(address, size);
} }
const u32 alignment = instance.TexelBufferMinAlignment(); const u32 alignment = instance.TexelBufferMinAlignment();