diff options
| author | 2022-01-31 23:41:29 +0100 | |
|---|---|---|
| committer | 2022-02-01 01:47:28 +0100 | |
| commit | 8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de (patch) | |
| tree | 5bbbdf9b9e67a8374c9b19cb2166d817abe60a9b /src/video_core/engines | |
| parent | GPU: Improve syncing. (diff) | |
| download | yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.gz yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.tar.xz yuzu-8a6e6465a7bb4efe5d2925fcaf7e0df19f91e6de.zip | |
Rasterizer: Refactor inlineToMemory.
Diffstat (limited to 'src/video_core/engines')
| -rw-r--r-- | src/video_core/engines/engine_upload.cpp | 2 | ||||
| -rw-r--r-- | src/video_core/engines/maxwell_3d.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/engine_upload.cpp b/src/video_core/engines/engine_upload.cpp index 4eb9a094d..351b110fe 100644 --- a/src/video_core/engines/engine_upload.cpp +++ b/src/video_core/engines/engine_upload.cpp | |||
| @@ -37,7 +37,7 @@ void State::ProcessData(const u32 data, const bool is_last_call) { | |||
| 37 | } | 37 | } |
| 38 | const GPUVAddr address{regs.dest.Address()}; | 38 | const GPUVAddr address{regs.dest.Address()}; |
| 39 | if (is_linear) { | 39 | if (is_linear) { |
| 40 | rasterizer->AccelerateInline2Memory(address, copy_size, inner_buffer); | 40 | rasterizer->AccelerateInlineToMemory(address, copy_size, inner_buffer); |
| 41 | } else { | 41 | } else { |
| 42 | UNIMPLEMENTED_IF(regs.dest.z != 0); | 42 | UNIMPLEMENTED_IF(regs.dest.z != 0); |
| 43 | UNIMPLEMENTED_IF(regs.dest.depth != 1); | 43 | UNIMPLEMENTED_IF(regs.dest.depth != 1); |
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index e0a435c45..dc9df6c8b 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h | |||
| @@ -1557,7 +1557,7 @@ private: | |||
| 1557 | 1557 | ||
| 1558 | static constexpr u32 null_cb_data = 0xFFFFFFFF; | 1558 | static constexpr u32 null_cb_data = 0xFFFFFFFF; |
| 1559 | struct CBDataState { | 1559 | struct CBDataState { |
| 1560 | static constexpr size_t inline_size = 0x8000; | 1560 | static constexpr size_t inline_size = 0x4000; |
| 1561 | std::array<std::array<u32, inline_size>, 16> buffer; | 1561 | std::array<std::array<u32, inline_size>, 16> buffer; |
| 1562 | u32 current{null_cb_data}; | 1562 | u32 current{null_cb_data}; |
| 1563 | u32 id{null_cb_data}; | 1563 | u32 id{null_cb_data}; |