yuzu-android/src
ReinUsesLisp d7db088180 video_core/texture: Use a LUT to convert sRGB texture borders
This is a reversed look up table extracted from
https://gist.github.com/rygorous/2203834#file-gistfile1-cpp-L41-L62

that is used in
04d4e9e587/source/maxwell/tsc_generate.cpp (L38)

Games usually bind 0xFD expecting a float texture border of 1.0f.
The conversion previous to this commit was multiplying the uint8 sRGB
texture border color by 255. This is close to 1.0f but when that
difference matters, some graphical glitches appear.

This look up table is manually changed in the edges, clamping towards
0.0f and 1.0f.

While we are at it, move this logic to its own translation unit.
2020-04-07 20:38:14 -03:00
..
audio_core audio_core: Accept Audren REV8 2020-03-23 03:07:14 +01:00
common Merge pull request #3508 from FernandoS27/page-table 2020-03-14 16:50:27 -04:00
core file_sys: fix LayeredFS error when loading some games made with… (#3602) 2020-04-07 02:03:32 +02:00
input_common Merge pull request #3525 from FearlessTobi/linux-compile-error 2020-03-21 16:04:45 -04:00
tests core/memory: Migrate over memory mapping functions to the new Memory class 2019-11-26 21:53:34 -05:00
video_core video_core/texture: Use a LUT to convert sRGB texture borders 2020-04-07 20:38:14 -03:00
web_service httplib compatibility 2020-02-18 18:04:33 -08:00
yuzu Merge pull request #3579 from Kewlan/reorder-shoulder 2020-04-03 11:28:14 -04:00
yuzu_cmd Frontend: Don't call DoneCurrent if the context isnt already current 2020-03-30 14:57:42 -06:00
yuzu_tester Address review and fix broken yuzu-tester build 2020-03-25 23:32:42 -06:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt CMake: Create thin archives on Linux 2020-01-19 12:52:09 +01:00