diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-12-25 01:19:41 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-01-01 22:43:58 +0100 |
commit | d09aa0182f18d1ac338ab47009b42fdeb67497a8 (patch) | |
tree | 1b3ae726f7aaa465b30fba795cfca0ae88d2140b /src/video_core/engines | |
parent | Rasterizer: Setup skeleton for Host Conditional rendering (diff) | |
download | yuzu-d09aa0182f18d1ac338ab47009b42fdeb67497a8.tar yuzu-d09aa0182f18d1ac338ab47009b42fdeb67497a8.tar.gz yuzu-d09aa0182f18d1ac338ab47009b42fdeb67497a8.tar.bz2 yuzu-d09aa0182f18d1ac338ab47009b42fdeb67497a8.tar.lz yuzu-d09aa0182f18d1ac338ab47009b42fdeb67497a8.tar.xz yuzu-d09aa0182f18d1ac338ab47009b42fdeb67497a8.tar.zst yuzu-d09aa0182f18d1ac338ab47009b42fdeb67497a8.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/draw_manager.cpp | 3 | ||||
-rw-r--r-- | src/video_core/engines/maxwell_3d.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/engines/draw_manager.cpp b/src/video_core/engines/draw_manager.cpp index 183d5403c..feea89c0e 100644 --- a/src/video_core/engines/draw_manager.cpp +++ b/src/video_core/engines/draw_manager.cpp @@ -97,7 +97,8 @@ void DrawManager::DrawArrayIndirect(PrimitiveTopology topology) { ProcessDrawIndirect(true); } -void DrawManager::DrawIndexedIndirect(PrimitiveTopology topology, u32 index_first, u32 index_count) { +void DrawManager::DrawIndexedIndirect(PrimitiveTopology topology, u32 index_first, + u32 index_count) { const auto& regs{maxwell3d->regs}; draw_state.topology = topology; draw_state.index_buffer = regs.index_buffer; diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h index 478ba4dc7..dbefcd715 100644 --- a/src/video_core/engines/maxwell_3d.h +++ b/src/video_core/engines/maxwell_3d.h @@ -3086,7 +3086,7 @@ public: std::unique_ptr<DrawManager> draw_manager; friend class DrawManager; - + std::vector<u8> inline_index_draw_indexes; GPUVAddr getMacroAddress(size_t index) const { |