summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/format_lookup_table.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* video_core: Rewrite the texture cacheReinUsesLisp2020-12-301-186/+194
| | | | | | | | | | | | | | 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.
* video_core: Resolve more variable shadowing scenarios pt.3Lioncash2020-12-051-6/+6
| | | | | Cleans out the rest of the occurrences of variable shadowing and makes any further occurrences of shadowing compiler errors.
* Merge pull request #4394 from lioncash/unused6bunnei2020-07-241-2/+0
|\ | | | | video_core: Remove unused variables
| * video_core: Remove unused variablesLioncash2020-07-211-2/+0
| | | | | | | | Silences several compiler warnings about unused variables.
* | video_core: Rearrange pixel format namesReinUsesLisp2020-07-131-76/+76
| | | | | | | | | | | | Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs.
* | video_core: Fix DXT4 and RGB565ReinUsesLisp2020-07-131-4/+3
| |
* | video_core/format_lookup_table: Add formats with existing PixelFormatReinUsesLisp2020-07-131-1/+9
|/
* format_lookup_table: Implement G24S8 format as S8Z24ReinUsesLisp2020-05-281-1/+2
|
* texture: Implement R8G8UIMorph2020-04-301-1/+2
| | | | - Used by The Walking Dead: The Final Season
* texture_cache/format_lookup_table: Fix incorrect green, blue, and alpha indicesLioncash2020-04-161-3/+3
| | | | | Previously these were all using the red component to derive the indices, which is definitely not intentional.
* video_core: Implement RGBA16_SNORMReinUsesLisp2020-03-131-1/+2
| | | | Implement RGBA16_SNORM with the current API. Nothing special here.
* texture: Implement R32IReinUsesLisp2020-02-151-1/+2
|
* format_lookup_table: Fix ZF32_X24S8 component typesReinUsesLisp2020-01-161-1/+1
| | | | | | Component types for ZF32_X24S8 were using UNORM. Drivers will set FLOAT, UINT, UNORM, UNORM; causing a format mismatch. This commit addresses that.
* format_lookup_table: Address feedbackReinUsesLisp2019-11-151-29/+23
| | | | | | | | 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/+214
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.