There was an error fetching the commit references. Please try again later.
texture_cache: Use a table instead of switch for texture formats
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.
Showing
- src/video_core/CMakeLists.txt 2 additions, 0 deletionssrc/video_core/CMakeLists.txt
- src/video_core/engines/maxwell_3d.cpp 0 additions, 8 deletionssrc/video_core/engines/maxwell_3d.cpp
- src/video_core/surface.cpp 0 additions, 236 deletionssrc/video_core/surface.cpp
- src/video_core/surface.h 0 additions, 5 deletionssrc/video_core/surface.h
- src/video_core/texture_cache/format_lookup_table.cpp 214 additions, 0 deletionssrc/video_core/texture_cache/format_lookup_table.cpp
- src/video_core/texture_cache/format_lookup_table.h 51 additions, 0 deletionssrc/video_core/texture_cache/format_lookup_table.h
- src/video_core/texture_cache/surface_params.cpp 12 additions, 8 deletionssrc/video_core/texture_cache/surface_params.cpp
- src/video_core/texture_cache/surface_params.h 6 additions, 2 deletionssrc/video_core/texture_cache/surface_params.h
- src/video_core/texture_cache/texture_cache.h 5 additions, 2 deletionssrc/video_core/texture_cache/texture_cache.h
Loading
Please register or sign in to comment