diff options
| author | bunnei <bunneidev@gmail.com> | 2018-11-26 18:33:22 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-26 18:33:22 -0500 |
| commit | c5fb7fafd4a8c63a785c016a237cfb5522cc4336 (patch) | |
| tree | 914026c2130ca51f929127e470608109890ba0a9 /src/video_core/command_processor.cpp | |
| parent | fc09b5cc26b09b0ac6bc9eea708bf8c4e1c43c1e (diff) | |
| parent | 264030c070a0f63b9b1b22ee3d724e620dfe90c2 (diff) | |
Merge pull request #1723 from degasus/dirty_flags
gl_rasterizer: Skip VB upload if the state is clean.
Diffstat (limited to 'src/video_core/command_processor.cpp')
| -rw-r--r-- | src/video_core/command_processor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/command_processor.cpp b/src/video_core/command_processor.cpp index 28e8c13aa2..8b9c548ccf 100644 --- a/src/video_core/command_processor.cpp +++ b/src/video_core/command_processor.cpp @@ -34,6 +34,9 @@ MICROPROFILE_DEFINE(ProcessCommandLists, "GPU", "Execute command buffer", MP_RGB void GPU::ProcessCommandLists(const std::vector<CommandListHeader>& commands) { MICROPROFILE_SCOPE(ProcessCommandLists); + // On entering GPU code, assume all memory may be touched by the ARM core. + maxwell_3d->dirty_flags.OnMemoryWrite(); + auto WriteReg = [this](u32 method, u32 subchannel, u32 value, u32 remaining_params) { LOG_TRACE(HW_GPU, "Processing method {:08X} on subchannel {} value " |
