diff options
Diffstat (limited to 'src/video_core/engines/maxwell_dma.cpp')
| -rw-r--r-- | src/video_core/engines/maxwell_dma.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp index 7c8872e209..ed4675ed12 100644 --- a/src/video_core/engines/maxwell_dma.cpp +++ b/src/video_core/engines/maxwell_dma.cpp @@ -14,7 +14,6 @@ #include "video_core/engines/maxwell_dma.h" #include "video_core/guest_memory.h" #include "video_core/memory_manager.h" -#include "video_core/native_query_trace.h" #include "video_core/renderer_base.h" #include "video_core/textures/decoders.h" @@ -59,12 +58,6 @@ void MaxwellDMA::CallMultiMethod(Core::System& system, u32 method, const u32* ba } void MaxwellDMA::Launch() { - if (memory_manager.UsesNativeTiling()) { - const GPUVAddr destination = regs.offset_out; - VideoCommon::TraceNativeQuery(10, memory_manager.GetID(), destination, - memory_manager.GpuToCpuAddress(destination).value_or(0), - regs.line_count, static_cast<GPUVAddr>(regs.offset_in), regs.line_length_in); - } LOG_TRACE(Render_OpenGL, "DMA copy {:#x} -> {:#x}", static_cast<GPUVAddr>(regs.offset_in), GPUVAddr(regs.offset_out)); // TODO(Subv): Perform more research and implement all features of this engine. @@ -226,7 +219,7 @@ void MaxwellDMA::CopyBlockLinearToPitch() { UnswizzleSubrect(tmp_write_buffer, tmp_read_buffer, bytes_per_pixel, width, height, depth, x_offset, src_params.origin.y, x_elements, regs.line_count, block_height, - block_depth, dst_operand.pitch, memory_manager.UsesNativeTiling()); + block_depth, dst_operand.pitch); } void MaxwellDMA::CopyPitchToBlockLinear() { @@ -291,7 +284,7 @@ void MaxwellDMA::CopyPitchToBlockLinear() { // If the input is linear and the output is tiled, swizzle the input and copy it over. SwizzleSubrect(tmp_write_buffer, tmp_read_buffer, bytes_per_pixel, width, height, depth, x_offset, dst_params.origin.y, x_elements, regs.line_count, block_height, - block_depth, regs.pitch_in, memory_manager.UsesNativeTiling()); + block_depth, regs.pitch_in); } void MaxwellDMA::CopyBlockLinearToBlockLinear() { @@ -344,11 +337,11 @@ void MaxwellDMA::CopyBlockLinearToBlockLinear() { UnswizzleSubrect(intermediate_buffer, tmp_read_buffer, bytes_per_pixel, src_width, src.height, src.depth, src_x_offset, src.origin.y, x_elements, regs.line_count, - src.block_size.height, src.block_size.depth, pitch, memory_manager.UsesNativeTiling()); + src.block_size.height, src.block_size.depth, pitch); SwizzleSubrect(tmp_write_buffer, intermediate_buffer, bytes_per_pixel, dst_width, dst.height, dst.depth, dst_x_offset, dst.origin.y, x_elements, regs.line_count, - dst.block_size.height, dst.block_size.depth, pitch, memory_manager.UsesNativeTiling()); + dst.block_size.height, dst.block_size.depth, pitch); } void MaxwellDMA::ReleaseSemaphore() { |
