summaryrefslogtreecommitdiffstats
path: root/src/video_core/compatible_formats.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-07-13video_core: Rearrange pixel format namesReinUsesLisp1-47/+40
Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs.
2020-06-27texture_cache: Test format compatibility before copyingReinUsesLisp1-1/+1
Avoid illegal copies. This intercepts the last step of a copy to avoid generating validation errors or corrupting the driver on some instances. We can create views and emit copies accordingly in future commits and remove this last-step validation.
2020-06-27video_core/compatible_formats: Table to test if two formats are legal to view or copyReinUsesLisp1-0/+162
Add a flat table to test if it's legal to create a texture view between two formats or copy betweem them. This table is based on ARB_copy_image and ARB_texture_view. Copies are more permissive than views.