summaryrefslogtreecommitdiffstats
path: root/src/video_core/texture_cache/format_lookup_table.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.