summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/render_targets.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* render_target: Add missing initializer for size extentLioncash2021-07-271-3/+3
| | | | | | | | | | Everything else has a default constructor that does the straightforward thing of initializing most members to a default value, except for the size. We explicitly initialize the size (and others, for consistency), to prevent potential uninitialized reads from occurring. Particularly given the largeish surface area that this struct is used in.
* video_core: Rewrite the texture cacheReinUsesLisp2020-12-301-0/+51
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.