diff options
| author | 2022-03-11 08:47:01 -0500 | |
|---|---|---|
| committer | 2022-03-11 08:51:22 -0500 | |
| commit | 70e632f1537d2e087af0b055c80e9124e0aa7c85 (patch) | |
| tree | 303fb9c7aba65ed73452e578da24629993d51de3 /src | |
| parent | TextureCacheRuntime: allow converting D24S8 to ABGR8 (diff) | |
| download | yuzu-70e632f1537d2e087af0b055c80e9124e0aa7c85.tar.gz yuzu-70e632f1537d2e087af0b055c80e9124e0aa7c85.tar.xz yuzu-70e632f1537d2e087af0b055c80e9124e0aa7c85.zip | |
Maxwell3D: mark index buffers as dirty after updating counts
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 2d640bd43..94711ad6b 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | #include "common/assert.h" | 7 | #include "common/assert.h" |
| 8 | #include "core/core.h" | 8 | #include "core/core.h" |
| 9 | #include "core/core_timing.h" | 9 | #include "core/core_timing.h" |
| 10 | #include "video_core/dirty_flags.h" | ||
| 10 | #include "video_core/engines/maxwell_3d.h" | 11 | #include "video_core/engines/maxwell_3d.h" |
| 11 | #include "video_core/gpu.h" | 12 | #include "video_core/gpu.h" |
| 12 | #include "video_core/memory_manager.h" | 13 | #include "video_core/memory_manager.h" |
| @@ -211,6 +212,7 @@ void Maxwell3D::ProcessMethodCall(u32 method, u32 argument, u32 nonshadow_argume | |||
| 211 | case MAXWELL3D_REG_INDEX(small_index): | 212 | case MAXWELL3D_REG_INDEX(small_index): |
| 212 | regs.index_array.count = regs.small_index.count; | 213 | regs.index_array.count = regs.small_index.count; |
| 213 | regs.index_array.first = regs.small_index.first; | 214 | regs.index_array.first = regs.small_index.first; |
| 215 | dirty.flags[VideoCommon::Dirty::IndexBuffer] = true; | ||
| 214 | return DrawArrays(); | 216 | return DrawArrays(); |
| 215 | case MAXWELL3D_REG_INDEX(clear_buffers): | 217 | case MAXWELL3D_REG_INDEX(clear_buffers): |
| 216 | return ProcessClearBuffers(); | 218 | return ProcessClearBuffers(); |