summaryrefslogtreecommitdiffstats
path: root/src/tests/video_core/buffer_base.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix for -WallAlexandre Bouvier2022-10-251-1/+1
| | | Fix #9123
* code: dodge PAGE_SIZE #defineKyle Kienapfel2022-08-201-3/+4
| | | | | | | | | | | | | | | | | | | | | Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number This is great except in yuzu we're using PAGE_SIZE as a variable Specific example `static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;` PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables. Simply deleted the underscores, and then added YUZU_ prefix Might be worth noting that there are multiple uses in different classes/namespaces This list may not be exhaustive Core::Memory 12 bits (4096) QueryCacheBase 12 bits ShaderCache 14 bits (16384) TextureCache 20 bits (1048576, or 1MB) Fixes #8779
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* Buffer Cache: Address Feedback.Fernando Sahmkow2021-07-101-1/+1
|
* Buffer Cache: Fix High Downloads and don't predownload on Extreme.Fernando Sahmkow2021-07-091-1/+1
|
* tests/buffer_base: Add cached CPU writes testsReinUsesLisp2021-02-131-0/+76
| | | | Ensure the behavior of the previous commit in tests.
* tests: Add unit tests for the GPU range tracking buffer containerReinUsesLisp2021-01-131-0/+473
Due to how error prone the container design is, this commit adds unit tests for it. Some tests taken from here are based on bugs from using this buffer container in games, so if we ever break it in the future in a way that might harm games, the tests should fail.