skip motion blur draw

This commit is contained in:
IndecisiveTurtle 2024-08-19 03:25:13 +03:00
parent 1b68929d12
commit e8413cd5ab
3 changed files with 4 additions and 3 deletions

View File

@ -447,7 +447,7 @@ void PatchBufferInstruction(IR::Block& block, IR::Inst& inst, Info& info,
.dword_offset = sharp.dword_offset, .dword_offset = sharp.dword_offset,
.length = BufferLength(buffer), .length = BufferLength(buffer),
.used_types = BufferDataType(inst, buffer.GetNumberFmt()), .used_types = BufferDataType(inst, buffer.GetNumberFmt()),
.is_storage = is_store || buffer.GetSize() > MaxUboSize, .is_storage = true || is_store || buffer.GetSize() > MaxUboSize,
.is_written = is_store, .is_written = is_store,
}); });
} }

View File

@ -176,7 +176,7 @@ bool ComputePipeline::BindResources(VideoCore::BufferCache& buffer_cache,
} }
} }
const u32 size = vsharp.GetSize(); const u32 size = vsharp.GetSize();
if (buffer.is_written && compute_key != 0xfefebf9f) { if (buffer.is_written && compute_key != 0xfefebf9f && compute_key != 0x3d5ebf4e) {
texture_cache.InvalidateMemory(address, size, true); texture_cache.InvalidateMemory(address, size, true);
} }
const u32 alignment = const u32 alignment =

View File

@ -271,7 +271,8 @@ std::unique_ptr<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline() {
} }
if (hash == 0x8ccd4c7 || hash == 3273382176 || hash == 1253917491 || hash == 3568414570 || if (hash == 0x8ccd4c7 || hash == 3273382176 || hash == 1253917491 || hash == 3568414570 ||
hash == 886182625 || hash == 2876255299 || hash == 2153234908 || hash == 0xc0cbc309) { hash == 886182625 || hash == 2876255299 || hash == 2153234908 || hash == 0xc0cbc309 ||
hash == 0xe0305cef) {
return nullptr; return nullptr;
} }