Update vk_compute_pipeline.cpp

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

View File

@ -236,7 +236,10 @@ bool ComputePipeline::BindResources(VideoCore::BufferCache& buffer_cache,
LOG_WARNING(Render_Vulkan, "Unexpected metadata read by a CS shader (buffer)");
}
}
if (desc.is_written && info->pgm_hash != 0xfefebf9f /*Adjo_video_player_fix && 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);
}
const u32 alignment = instance.TexelBufferMinAlignment();