summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/format_lookup_table.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add Z32, FLOAT, UINT, UINT, UINT, LINEAR to format lookup tableSquall Leonhart2023-10-081-0/+2
| | | Should fix and close #11711
* Implement X8_D24 formatKelebek12023-10-061-0/+4
|
* Needed to make this an extra case so it didnt also start asserting in BOTW.Squall-Leonhart2023-08-111-0/+2
| | | | Thanks Liam
* Fix an assert in the format lookup table fir Z16Squall Leonhart2023-08-111-1/+1
| | | | Came across this while looking into Asterix and Obelix XXL glitching
* GPU: implement missing ASTCFernando Sahmkow2023-05-031-0/+6
|
* video_core: Update texture formatFeng Chen2023-03-101-31/+31
|
* format_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINTMorph2022-10-211-0/+2
| | | | | | This format is similar to Z32_FLOAT_X24S8_UINT, which is implemented with D32_FLOAT_S8_UINT. Used in Persona 5 Royal
* VideoCore: Implement formats needed for N64 emulation.Fernando Sahmkow2022-10-061-1/+1
|
* Texture Cache: Add ASTC 10x5 Format.Fernando Sahmkow2022-10-061-0/+4
|
* renderer_(gl/vk): Implement ASTC_10x6_UNORMMorph2022-07-061-0/+2
| | | | - Used by Monster Hunter Rise Update 10.0.2
* 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: implement formats for N64 emulationFernando Sahmkow2022-04-141-0/+6
|
* Add missing pixel format mappingFeng Chen2021-11-291-0/+2
|
* 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.