video_core/compatible_formats: Table to test if two formats are legal to view or copy

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.
This commit is contained in:
ReinUsesLisp
2020-06-26 19:22:29 -03:00
parent c4fe83a7bc
commit 1d6be9febf
3 changed files with 196 additions and 0 deletions

View File

@ -3,6 +3,8 @@ add_library(video_core STATIC
buffer_cache/buffer_cache.h
buffer_cache/map_interval.cpp
buffer_cache/map_interval.h
compatible_formats.cpp
compatible_formats.h
dirty_flags.cpp
dirty_flags.h
dma_pusher.cpp