summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/format_lookup_table.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* video_core: Rewrite the texture cacheReinUsesLisp2020-12-301-38/+4
| | | | | | | | | | | | | | 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.
* format_lookup_table: Address feedbackReinUsesLisp2019-11-151-1/+1
| | | | | | | | format_lookup_table: Drop bitfields format_lookup_table: Use std::array for definition table format_lookup_table: Include <limits> instead of <numeric>
* texture_cache: Use a table instead of switch for texture formatsReinUsesLisp2019-11-151-0/+51
Use a large flat array to look up texture formats. This allows us to properly implement formats with different component types. It should also be faster.