From ea6c1193fbfa95e586bb6d129dc684163a12cb3e Mon Sep 17 00:00:00 2001 From: Takoroka <137927095+Takoroka@users.noreply.github.com> Date: Thu, 29 Oct 2026 03:39:29 -0400 Subject: Revert "Import experimental NS2 support and accumulated GPU fixes" This reverts commit 535b676970. The Switch 2 support comes from the nx2 work instead, merged next. --- src/video_core/engines/engine_upload.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/video_core/engines/engine_upload.cpp') diff --git a/src/video_core/engines/engine_upload.cpp b/src/video_core/engines/engine_upload.cpp index 0ffdae8036..ba21eec4c4 100644 --- a/src/video_core/engines/engine_upload.cpp +++ b/src/video_core/engines/engine_upload.cpp @@ -27,7 +27,6 @@ void State::BindRasterizer(VideoCore::RasterizerInterface* rasterizer_) { void State::ProcessExec(const bool is_linear_) { write_offset = 0; - flushed_offset = 0; copy_size = regs.line_length_in * regs.line_count; inner_buffer.resize_destructive(copy_size); is_linear = is_linear_; @@ -40,29 +39,10 @@ void State::ProcessData(const u32 data, const bool is_last_call) { if (!is_last_call) { return; } - if (native_partial && is_linear && regs.line_count == 1) { - const u32 count = write_offset - flushed_offset; - if (count) { - rasterizer->AccelerateInlineToMemory(regs.dest.Address() + flushed_offset, count, - std::span{inner_buffer.data() + flushed_offset, count}); - flushed_offset = write_offset; - } - return; - } ProcessData(inner_buffer); } void State::ProcessData(const u32* data, size_t num_data) { - if (native_partial && is_linear && regs.line_count == 1) { - const auto count = std::min(num_data * sizeof(u32), copy_size - write_offset); - if (count) { - rasterizer->AccelerateInlineToMemory(regs.dest.Address() + write_offset, count, - std::span{reinterpret_cast(data), count}); - write_offset += static_cast(count); - flushed_offset = write_offset; - } - return; - } std::span read_buffer(reinterpret_cast(data), num_data * sizeof(u32)); ProcessData(read_buffer); } -- cgit v1.2.3