diff options
| author | 2018-08-28 18:43:08 -0400 | |
|---|---|---|
| committer | 2018-08-31 13:07:27 -0400 | |
| commit | 16d65182f99ed1066c8e88a774d0a3637f97ae01 (patch) | |
| tree | 3c10dfc449c7ebeaf40b9c249a9b483a714ecf3e /src/video_core/rasterizer_interface.h | |
| parent | Implement BC6H_UF16 & BC6H_SF16 (#1092) (diff) | |
| download | yuzu-16d65182f99ed1066c8e88a774d0a3637f97ae01.tar.gz yuzu-16d65182f99ed1066c8e88a774d0a3637f97ae01.tar.xz yuzu-16d65182f99ed1066c8e88a774d0a3637f97ae01.zip | |
gl_rasterizer: Fix issues with the rasterizer cache.
- Use a single cached page map.
- Fix calculation of ending page.
Diffstat (limited to 'src/video_core/rasterizer_interface.h')
| -rw-r--r-- | src/video_core/rasterizer_interface.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h index a4a219d8d..6b8b64709 100644 --- a/src/video_core/rasterizer_interface.h +++ b/src/video_core/rasterizer_interface.h | |||
| @@ -60,5 +60,8 @@ public: | |||
| 60 | virtual bool AccelerateDrawBatch(bool is_indexed) { | 60 | virtual bool AccelerateDrawBatch(bool is_indexed) { |
| 61 | return false; | 61 | return false; |
| 62 | } | 62 | } |
| 63 | |||
| 64 | /// Increase/decrease the number of object in pages touching the specified region | ||
| 65 | virtual void UpdatePagesCachedCount(Tegra::GPUVAddr addr, u64 size, int delta) {} | ||
| 63 | }; | 66 | }; |
| 64 | } // namespace VideoCore | 67 | } // namespace VideoCore |