summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/util.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* texure_cache/util: Resolve implicit sign conversions with std::reduceLioncash2021-04-121-9/+12
| | | | | | Amends implicit sign conversions occurring with usages of std::reduce and also relocates it to its own utility function to reduce verbosity a little bit.
* astc_decoder: Refactor for style and more efficient memory useameerj2021-03-251-12/+2
|
* texture_cache: Blacklist BGRA8 copies and views on OpenGLameerj2021-03-041-6/+7
| | | | | | In order to force the BGRA8 conversion on Nvidia using OpenGL, we need to forbid texture copies and views with other formats. This commit also adds a boolean relating to this, as this needs to be done only for the OpenGL api, Vulkan must remain unchanged.
* texture_cache/util: Remove unused functionsLioncash2021-02-091-34/+0
| | | | Silences a few warnings on clang 12.
* video_core: Silence -Wmissing-field-initializers warningsReinUsesLisp2021-01-241-24/+35
|
* texture_cache/util: Resolve -Wsign-compare warningLioncash2021-01-171-1/+1
| | | | Resolves a -Wsign-compare warning on Clang.
* common/alignment: Rename AlignBits to AlignUpLog2ReinUsesLisp2021-01-151-5/+5
| | | | AlignUpLog2 describes what the function does better than AlignBits.
* gl_texture_cache: Avoid format views on Intel and AMDReinUsesLisp2021-01-041-6/+7
| | | | | | | Intel and AMD proprietary drivers are incapable of rendering to texture views of different formats than the original texture. Avoid creating these at a cache level. This will consume more memory, emulating them with copies.
* video_core: Rewrite the texture cacheReinUsesLisp2020-12-301-0/+1232
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.